[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backup a different root folder



On 04/30/14 10:46, Ali Khalfan wrote:
> let's say I do this:
> 
> tarsnap -c -f mybackup /usr/home /other/stuff
> 
> then another day I do
> 
> tarsnap -c -f anotherbackup /morestuff
> 
> will this also backup the changes in /usr/home and /other/stuff ?

No.  If you want /usr/home and /other/stuff to be part of anotherbackup, you
should list them on the tarsnap command line.

> and what happens if I delete the first archive mybackup

That archive gets deleted, leaving anotherbackup behind (which contains
/morestuff).

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid