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

Re: What files to backup



Hi,

I use this line to backup my entire computer :
rsync -avhHPS --exclude={dev,sys,proc,mnt,tmp,media} / <dest>/`date +%Y-%m-%d-%T`/

Nothing is forget except the "exclude" rep.

-- 
JG

Le 12 avril 2012 14:12, Rob Owens <rowens@ptd.net> a écrit :
On Tue, Apr 10, 2012 at 09:11:55PM -0600, Bob Proulx wrote:
> Brad Alexander wrote:
> > Mat Enders wrote:
> > > Is there anything else that should be included.
>
> I find /var/backups to contain very useful information such as the
> names and versions of all packages that are installed which is useful
> to a recovery.  Here is a minimum list for me.
>
>   /etc
>   /home
>   /usr/local
>   /var/backups
>   /var/mail
>   /var/spool/cron
>
> If you use /srv then it would have local data too.
>
And maybe /opt as well.

-rob


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20120412121205.GA30565@aurora.owens.net" target="_blank">http://lists.debian.org/[🔎] 20120412121205.GA30565@aurora.owens.net



Reply to: