Re: [BackupPC-users] Getting data from cpool
I'm impressed. Good job! I didn't know you were just looking for a few individual files, I was expecting you needed to restore an entire machine. What backup solution are you going to in the future? On 04/11 11:46 , anonymous1...@cock.li wrote: > Dear Carl, > > Thank you very much for your reply that clarified the situation. > > Yes, pc and pool folders are missing due to for me unknown reason. > > I've written a small script that unpacks the files through zlib and maps > them to description that "file" unix command can deliver. > > That way I could sort out Word Documents and PDF files out there and > required documents were found. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Getting data from cpool
Dear Carl, Thank you very much for your reply that clarified the situation. Yes, pc and pool folders are missing due to for me unknown reason. I've written a small script that unpacks the files through zlib and maps them to description that "file" unix command can deliver. That way I could sort out Word Documents and PDF files out there and required documents were found. Problem solved for now. Thanks! On 2018-04-10 13:54, Carl W. Soderstrom wrote: On 04/09 05:59 , Michael Huntley wrote: Here are the files I got with a message "it's our backup": config cpool lock.roster lost+found What is the easiest way (if any :-) to extract browsable filestructure out of this? So there's no 'pc' directory with trees of directories, one for each machine which has been backed up? The pc/ directory tree stores the mappings of what file goes to where on what machine. The cpool/ directory tree stores the data according to hashed names which are used for deduplication, and while files are symlinked from one to the other, you need both in order to figure out what goes where. (There may be a pool/ directory as well, which stores the data in the same way as cpool/, but in uncompressed format). Without the pc/ directory you're in trouble. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Getting data from cpool
On 04/09 05:59 , Michael Huntley wrote: > Here are the files I got with a message "it's our backup": > > config > cpool > lock.roster > lost+found > > What is the easiest way (if any :-) to extract browsable filestructure > out of this? So there's no 'pc' directory with trees of directories, one for each machine which has been backed up? The pc/ directory tree stores the mappings of what file goes to where on what machine. The cpool/ directory tree stores the data according to hashed names which are used for deduplication, and while files are symlinked from one to the other, you need both in order to figure out what goes where. (There may be a pool/ directory as well, which stores the data in the same way as cpool/, but in uncompressed format). Without the pc/ directory you're in trouble. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Getting data from cpool
My task now is to get some files out of old Backup-PC data set... I am not intending to start Backup-PC anymore... Here are the files I got with a message "it's our backup": config cpool lock.roster lost+found What is the easiest way (if any :-) to extract browsable filestructure out of this? --- None-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Getting data from cpool
Hi there, On Mon, 9 Apr 2018, "Thanks!" wrote: First of all I am sorry if this question can be answered upon long RTFM. There's also _short_ RTFM. :) Lazy questions like this are frowned upon on most mailing lists. If you can't spare the time to do things properly when you're being paid for it, why should anyone else do it for you for nothing? Don't be too surprised if most people ignore you. I expect some people to be annoyed with me for even posting an answer. But then they might not have read the answer. :) It might help to know what version of BackupPC created the cpool. I'll hazard a guess that it's version 3.something. Here are the files I got with a message "it's our backup": config cpool lock.roster lost+found Perhaps I'll post my reply to "The Register" as well: https://www.theregister.co.uk/2018/04/06/on_call/ Some of your 'files' aren't files (and I guess at least two may have nothing to do with backuppc), and you're most probably going to need a directory called 'pc' - complete with contents. But from what you've written you might just be better off looking for another employer, as this one apparently has serious management problems. Perhaps that was one reason for being a takeover target, though, and the new management will maybe Do The Right Things (TM). What is the easiest way (if any :-) to extract browsable filestructure out of this? You might be able to use something like BackupPC_zipCreate to create a .zip archive which you would be able to 'browse'. But you're going to need that 'pc' directory and contents. One important idea in BackupPC is that files are stored in a pool, so that if more than one copy of a file exists on several machines or several copies exist on one machine then only one copy is kept, to save space. You seem to have your pool. If identical files do not have the same path/name that can be a problem so BackupPC stores the names separately, and effectively makes pointers from names to pool files. The pool files themselves are named with a hash, e.g. 'cde1b8799ffe2c163f05b6c566bc47d9', which isn't informative. The files in the 'pc' directory, which you don't seem to have, will be your (presently missing) links between hostname/path/filename and those files in the pool. The word 'links' might become important to you, as some filesystems don't support them. I'm guessing that the file which you named 'config' above is in fact 'config.pl' and the 'files' are on a Windows box. That might not be going to work very well. Oh - and as another way to save space, the pool files are _usually_ compressed. So if you just want to search the entire pool for a file by e.g. 'grep'ing for the contents, then you're going to need to uncompress them first. -- 73, Ged. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/