Hi Sheldon!

[[ CCing users ]]


> Have you tried using fsvs to back up from an LVM snapshot volume?
No, I didn't.


> I tried this:
>
> lvcreate -s -L 6G -n rootsnap /dev/vgr1/root
> mount /dev/mapper/rootsnap /mnt
> fsvs commit -m "Automatic backup" -o softroot=/mnt
>
> But on the second backup, I got:
>
>   Committing to file:///media/backups/system-fsvs
>   N...       dir  dev
>
>   An error occurred: Item already exists in filesystem (160020)
>     in ci__directory: add_directory
>
> Backing up from a snapshot would be great, because it'd mean I'd get my
> PostgreSQL database back in a consistent state.
Good idea; but how do you synchronize Postgres and your snapshot? Or is
your biggest concern having database files changed while committing?

I'm not sure ATM whether softroot works for commit; I'll test and report
back.

Meanwhile, how about setting up a new working copy with base directory
/mnt? A simple "cp /etc/fsvs/6666* /etc/fsvs/XXXXX" with correct paths
should work.


Regards,

Phil


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to