View previous topic :: View next topic |
Author |
Message |
Sfynx n00b
Joined: 01 Jun 2002 Posts: 50
|
Posted: Fri Jul 05, 2002 8:37 pm Post subject: Backupping my root filesystem w/o restarting |
|
|
I want to make regular backups, preferably with tar, of the root filesystem of my little Gentoo server. This is the drive config:
/dev/hda1: boot, 7.8MB
/dev/hda2: swap, 36MB
/dev/hda3: root, 790MB
I have a fully working smbfs mountpoint on /mnt/backup to a Windows share where the backup is to be placed.
The root filesystem (/dev/hda3) is active and mounted and I want to get it remounted as read-only before safely performing the backup procedure (to prevent that it is being changed while backupping). After the backup, it should be remounted read-write again, thereby resuming normal server operation.
The problem is that I cannot get it properly remounted. / is in use, also after unmounting all the stuff in fstab... and devfs.
I know it is possible to make another root partition that contains a backup procedure to have the bigger root partition unmounted during the backup, but I do not want to restart my server to make a backup if that is possible (I love uptimes! ) Does anyone have a suggestion? _________________ I'm the great Cornholio!
Are you threatening me? |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Jul 06, 2002 12:36 am Post subject: |
|
|
man mount.
"mount -o remount,ro /" _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|