BackupPC-users

Re: [BackupPC-users] FreeBSD backups?

2015-02-04 02:19:29
Subject: Re: [BackupPC-users] FreeBSD backups?
From: Alexander Moisseev <moiseev AT mezonplus DOT ru>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 04 Feb 2015 10:17:20 +0300
On 04.02.2015 2:44, Adam Goryachev wrote:
>
> My personal preference is to backup *everything*. Anything less than
> this, and you will eventually have the situation where the weird config
> file wasn't stored in the standard place, and you can't restore it, or
> someone wrote a custom script and saved it to /usr/bin instead of
> /usr/local/bin etc.... The size of the OS files is generally relatively
> small, compress well, and change rarely, therefore minimal cost to
> backup those files, even over a remote/slow connection.
>
> Regards,
> Adam
>

I am agree with Adam in general. Also as a bonus you can track changes in base 
system with BackupPC history.
But you don't want to backup the ports tree, I guess.

Additionally, I always store big volumes of data on separate file system and 
after significant changes in OS I make dumps of all file systems where OS 
resides. In case of disk failure bare metal restore from dump is fast and 
requires almost no efforts.

For FreeBSD hosts I usually exclude that directories:

$Conf{BackupFilesExclude} = {
   '*' => [
     '/cdrom',
     '/dev',
     '/media',
     '/mnt',
     '/proc',
     '/tmp',
     '/usr/obj',
     '/usr/ports',
     '/usr/src',
     '/var/db/portsnap',
     '/var/tmp'
   ]
};

--
Alexander

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>