Backup an running System

Please ask questions here if you are not familiar with fsarchiver
Post Reply
frindly
Posts: 25
Joined: Fri Nov 28, 2008 2:31 pm
Location: Germany

Backup an running System

Post by frindly » Tue Mar 30, 2010 1:44 pm

hello,
can i backup with fsarchiver an working system?
what happens, when directorys over network are mountet in the filesystem tree?
is the content of the directory backuped too? it physicalic lay on another computer and it should not be backuped.

psusi
Posts: 4
Joined: Mon Mar 22, 2010 6:57 pm

Re: Backup an running System

Post by psusi » Wed Mar 31, 2010 3:07 pm

No, the filesystem can not be mounted or must be mounted read-only. You can get around this with lvm snapshots.

admin
Site Admin
Posts: 550
Joined: Sat Feb 21, 2004 12:12 pm

Re: Backup an running System

Post by admin » Sun Apr 11, 2010 8:24 am

It's possible to backup a read-write mounted filesystem but you have to use an extra option to make that possible:

Code: Select all

-A, --allow-rw-mounted
Allow to save a filesystem which is mounted in read-write (live backup).  
By default fsarchiver fails with an error if the partition if mounted in read-write mode 
which allows modifications to be done on the filesystem during the backup. 
Modifications can drive to inconsistencies in the backup. Using lvm snapshots 
is the recommended way to make backups since it will provide consistency, but 
it is only available for filesystems which are on LVM logical-volumes.
As psusi said, the perfect setup is to have your root filesystem on LVM and then you can make good backups of your system

Post Reply