From: Adam G. <ad...@we...> - 2009-06-15 22:51:41
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boniforti Flavio wrote: >> BackupPC_tarCreate will give you a tar archive on stdout. If >> you want it compressed, you have to pipe through gzip. If >> you want that saved to a file you have to supply the shell >> redirection at the end of the pipleline and an appropriate >> path/filename. But basically you can do anything you want in >> the shell command line. > > Yep, I'm at my first experiments and... > > /usr/share/backuppc/bin/BackupPC_tarCreate -h omv -n -1 -s profilo / > > /mnt/USB/omv-test.tar > > This one worked ok: I had my tarball (not gzipped or anything) in my > external USB drive. > A question about "-s": as I have more than one share per host, I tried > "-s *" but that didn't work. BackupPC_tarCreate was trying to add the > files in the directory from which I ran that command! :-/ Is there any > way to tell it to just tar every share? Or at least would there be a way > to list the shares? Try one of these depending on whether you do this from cmd line or shell script etc: - -s '*' - -s \* - -s \\* - -s \\\* > And, what I don't want to miss is how do I eventually restore a damaged > BackupPC host from my "tarCreated" archives? This one you will need to test. For a linux machine you might be able to boot from a knoppix or ubuntu cd, restore the tar file, re-install the boot loader, and be done. (A virtual machine booting from NFS might be even easier). For a windows machine, you may be able to re-install windows and then boot from a knoppix/ubuntu cd, restore the tar file over the top, and then be good to go. For windows though you will be missing some acl/permission information, and also some files that were open/locked during the backup. Worst case you will need to re-install the OS + programs, then restore your data files over the top. I'm about to experiment with windows restores.... but haven't started yet. Regards, Adam - -- Adam Goryachev Website Managers Ph: +61 2 8304 0000 ad...@we... Fax: +61 2 8304 0001 www.websitemanagers.com.au -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAko20G4ACgkQGyoxogrTyiXUAgCgxrm5MwLePJecfmiabnaT2k1Z 2VIAn2DsLvFxORRa+9eL606UsPVCkBh2 =yRQO -----END PGP SIGNATURE----- |