dumpdates

2010-02-24 Thread Didier Wiroth
Hello,
I would like to backup the /etc directory, like this:
sudo dump -0uan -f - /etc | gzip -9 | ssh -i .ssh/id_rsa_host2 m...@host2 dd 
of=/home/me/dump-files/dump-etc-l0-`date +%d%m%Y`.gz

a) Is it normal that /etc/dumpdates is empty after the backup?
b) What do I have to modify to add the information into /etc/dumpdates?

Thanks a lot!
Didier



Re: dumpdates

2010-02-24 Thread Dan Harnett
On Wed, Feb 24, 2010 at 07:00:44PM +0100, Didier Wiroth wrote:
> Hello,
> I would like to backup the /etc directory, like this:
> sudo dump -0uan -f - /etc | gzip -9 | ssh -i .ssh/id_rsa_host2 m...@host2 dd 
> of=/home/me/dump-files/dump-etc-l0-`date +%d%m%Y`.gz
> 
> a) Is it normal that /etc/dumpdates is empty after the backup?
> b) What do I have to modify to add the information into /etc/dumpdates?


Only filesystem backups are recorded in /etc/dumpdates.  If you dump the
filesystem that /etc is in (/), then it'll be recorded as you expect.



diff: Option to use duids in /etc/dumpdates

2014-07-07 Thread Maximilian Fillinger
Hi!

The attached diff adds a "-U" flag to dump that allows using disklabel
UIDs in /etc/dumpdates. That makes incremental dumps possible when a
disk is roaming between device files.

I'd be happy to receive comments.

Best regards,
Max

[demime 1.01d removed an attachment of type text/x-patch which had a name of 
dump.diff]



Re: diff: Option to use duids in /etc/dumpdates

2014-07-08 Thread Alexander Hall

On 07/08/14 01:22, Maximilian Fillinger wrote:

Hi!

The attached diff adds a "-U" flag to dump that allows using disklabel
UIDs in /etc/dumpdates. That makes incremental dumps possible when a
disk is roaming between device files.

I'd be happy to receive comments.

Best regards,
Max

[demime 1.01d removed an attachment of type text/x-patch which had a name of 
dump.diff]



Please resend with diff inline.

/Alexander