Hi all. I'm currently having a following problem: I have only ssh connection to a CentOS 5.2 system, there are two harddiscs on it. One stores the system (/ filesystem) and the other should be used to help restore the system in case of first disks' failure. I thought that maybe dump would be a good utility to make it. But in only works on read-only filesystems. In one article I've read that making a snapshot of the / filesystem (then it wouldbe read-only) and backing it could help. But aren't snapshots limited to logical volumes (LVM)? My friend told me to use rsync to back up the entire / filesystem to the second disk and then in case o failure the system from the copy should boot ok. Could anyone provide any suggestions? I don't have physical contact with the machine so for example RAID 1 isn't a possible option/ Any help will be very kindly appreciated. With regards, R. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090621/10532074/attachment.html>
2009/6/21 Rafa? Radecki <radecki.rafal at gmail.com>> Hi all. I'm currently having a following problem: I have only ssh > connection to a CentOS 5.2 system, there are two harddiscs on it. One stores > the system (/ filesystem) and the other should be used to help restore the > system in case of first disks' failure. I thought that maybe dump would be a > good utility to make it. But in only works on read-only filesystems. In one > article I've read that making a snapshot of the / filesystem (then it > wouldbe read-only) and backing it could help. But aren't snapshots limited > to logical volumes (LVM)? My friend told me to use rsync to back up the > entire / filesystem to the second disk and then in case o failure the system > from the copy should boot ok. > > Could anyone provide any suggestions? I don't have physical contact with > the machine so for example RAID 1 isn't a possible option/ > > Any help will be very kindly appreciated. > > With regards, > R. > > > _______________________________________________ >rsync will probably be your best bet. You'll be able to make an exact copy of the / root system, regardless of what filesystem it uses. Furthermore, you can choose to exclude certain stuff from being copied over to the backup HDD, and all the files will be accesabile like they are on the first HDD. The advantage of this, is that the HDD could be put into another machine, without having to figure out how to restore it. And, you could run a cronob to sync the files every night. -- Kind Regards Rudi Ahlers CEO, SoftDux Hosting Web: http://www.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090621/c57bf9ae/attachment.html>
At Sun, 21 Jun 2009 11:49:09 +0200 CentOS mailing list <centos at centos.org> wrote:> > > > Hi all. I'm currently having a following problem: I have only ssh connection > to a CentOS 5.2 system, there are two harddiscs on it. One stores the system > (/ filesystem) and the other should be used to help restore the system in > case of first disks' failure. I thought that maybe dump would be a good > utility to make it. But in only works on read-only filesystems. In oneDump works just fine on a read-write file system. There is the pretty much standard limitation (that applies to *all* backup methods) that when backing up an 'active' file system: there will always be files that will miss the backup because they were being written during the backup process.> article I've read that making a snapshot of the / filesystem (then it > wouldbe read-only) and backing it could help. But aren't snapshots limited > to logical volumes (LVM)? My friend told me to use rsync to back up the > entire / filesystem to the second disk and then in case o failure the system > from the copy should boot ok. > > Could anyone provide any suggestions? I don't have physical contact with the > machine so for example RAID 1 isn't a possible option/ > > Any help will be very kindly appreciated.Make an initial dump to get the base system copied, then set up a cron job to sync the disks once a day (or more frequently) with rsync.> > With regards, > R. > > MIME-Version: 1.0 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >-- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/