Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: fsvs from a snapshot volume

fsvs
Discussion topic

Back to topic list

Re: fsvs from a snapshot volume

Author pmarek
Full name P.Marek
Date 2008-01-08 01:41:41 PST
Message 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/backup​s/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)!

« Previous message in topic | 1 of 32 | Next message in topic »

Messages

Show all messages in topic

Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-08 01:41:41 PST
     Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at clue dot co dot za> Sheldon Hearn <sheldonh at clue dot co dot za> 2008-01-08 04:47:03 PST
         Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at clue dot co dot za> Sheldon Hearn <sheldonh at clue dot co dot za> 2008-01-08 05:47:38 PST
             Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-09 00:27:46 PST
                 Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-09 01:23:16 PST
                     Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-09 05:42:34 PST
                         Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at clue dot co dot za> Sheldon Hearn <sheldonh at clue dot co dot za> 2008-01-09 07:09:19 PST
                             Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-09 09:58:06 PST
                                 Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at clue dot co dot za> Sheldon Hearn <sheldonh at clue dot co dot za> 2008-01-10 05:47:26 PST
                                     Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-10 06:25:52 PST
                                     Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-10 07:52:06 PST
                                         Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-01-10 08:42:13 PST
                                             Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-01-10 08:44:25 PST
                                                 Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-10 08:54:01 PST
                                                     Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-10 08:59:08 PST
                                                         Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-10 09:53:30 PST
                                                             Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-01-11 05:43:51 PST
                                                                 Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-11 09:22:50 PST
                                                                     Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-12 02:50:48 PST
                                                                         Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-01-12 04:16:43 PST
                                                                             Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-12 04:40:22 PST
                                                                                 Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-01-12 22:24:09 PST
                                                                                     Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-01-12 23:07:57 PST
                                                                                         Re: fsvs from a snapshot volume pmarek P.Marek 2008-01-13 00:07:33 PST
                                                                                             Re: fsvs from a snapshot volume Sheldon Hearn <sheldonh at starjuice dot net> Sheldon Hearn <sheldonh at starjuice dot net> 2008-01-13 05:52:18 PST
Page: of 2 « Previous | Next »
Messages per page: