BackupPC-users

Re: [BackupPC-users] Scheduling archiving host

2009-06-15 19:08:07
Subject: Re: [BackupPC-users] Scheduling archiving host
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 16 Jun 2009 08:59:28 +1000
-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko20lAACgkQGyoxogrTyiVfMACeKauIly8KK0S1+EPnx+OqhZMp
tuYAnj4fgGI4Nftd+Js6k0OR9c9WgwFR
=PZ30
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/