BackupPC-users

Re: [BackupPC-users] Need to speed up tar method

2009-07-01 10:40:33
Subject: Re: [BackupPC-users] Need to speed up tar method
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 02 Jul 2009 00:34:44 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

error403 wrote:
> However, using this method, I also found out that backuppc was
> copying EVERY files from the host, even on incremental backups,
> because (I assume) it needed to compare locally the files before
> updating the ones in the last backup.
> 
> So, my 2 questions are, is there a way to script a way to compare the
> files before the copy, to make a way to skip files that are not
> needed in the tar method, 

I would have thought the default config for a tar backup would be to use
the date/time of a file to decide whether or not to include it in the
backup... but I don't use this, perhaps you should check what flags you
are giving to tar for full/incremental...

> and is there a way to tell backuppc to NOT
> start if the mounted directory is empty to prevent empty backups?

- From the config.pl file:
# A backup of a share that has zero files is considered fatal. This is
# used to catch miscellaneous Xfer errors that result in no files being
# backed up.  If you have shares that might be empty (and therefore an
# empty backup is valid) you should set this flag to 0.
#
$Conf{BackupZeroFilesIsFatal} = 1;

This will mark the backup as failed, and so will retry as per your
configuration until it is successful.

Regards,
Adam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpLdAQACgkQGyoxogrTyiWxDgCbBAXPWLOujg7ssXS3ywBht9EZ
Y7EAoMFXGvyZh6Wx97OYSwl6vTwxe0lj
=NWxo
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
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/