Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: fsvs local changed by accident

fsvs
Discussion topic

Back to topic list

Re: fsvs local changed by accident

Author cobolt
Full name steve caster
Date 2010-08-16 05:17:25 PDT
Message Hi Philip

I have just check and get anotehr ? at the end like
..p..? 5164 Canon/PCL Printer Driver Nl. v.6.85/winnt40/pcl6/​iR9070XH.xp_

when I do a revert of the Canon folder I need to log in to the fsvs server.
What does the ? stand for?

best regards

Steve
----------------original message-----------------
From: "Philipp Marek"
To: "steve caster" steve at c2root dot be
CC: "users" users at fsvs dot tigris dot org
Date: Mon, 16 Aug 2010 14:10:34 +0200 (CEST)
--------------------​--------------------​---------
 
 
> Hello Steve!
>
>> we have the following setup in the field:
>>
>> windows server which sync to a linux server running fsvs. When setting up
>> the server I did an fsvs check out using the root user (stupid me)
therefore
>> all files checked out have rootas user.
>>
>> Now the smb running on that server did a sync and changed the ownership
to
>> nobody. The files are the same. I found that the copy script not only
looks
>> at the file itself but also at the creation time.
>>
>> Is there a way I can revert to the original files, without having to
>> download the original file from the server?
> If *only* the meta-data has changed (mtime, owner, group, or mode),
> FSVS should see this, and show the files with only meta-data changes
> (so no "C"):
>
> root@cacao:/etc # ls -la passwd ; fsvs st -v passwd
> -rw-r--r-- 1 root root 1641 2. Aug 08:57 passwd
> ...... 1641 passwd
> root@cacao:/etc # touch passwd ; chown 1.2 passwd ; fsvs st -v passwd
> .tp... 1641 passwd
>
> Furthermore a "revert" will use the local information to fix the
meta-data:
>
> root@cacao:/etc # fsvs revert passwd ; ls -la passwd
> Reverting to revision 26:
> .m.. 1641 passwd
> -rw-r--r-- 1 root root 1641 2. Aug 08:57 passwd
>
> (This shows that meta-data was fixed, ie. the previous status.)
>
>
>> Second Q:
>>
>> can I move a local copy from one client to another client? I mean, can I
>> copy the /etc/fsvs and /var/spool/fsvs folder + the data from 1 client to
>> another? We are talking over +100 GB of data.
> Well, copying /etc/fsvs and /var/spool/fsvs should work, too.
> There's nothing host-specific there (at least if BDB is byte-order
compatible
> etc.)
>
> The "normal", suggested way would be to copy the data with whatever means
> (tape, harddisk, rsync, scp, tar | netcat, etc.), and doing
> fsvs urls ....
> fsvs sync-repos
>
> to get a clean filelist in the new working copy.
>
> This is mostly time-bound by the number of files, as FSVS unfortunately
> has to query the repository in two ways to get the filesize *and* the
original
> meta-data.
>
>
> Regards,
>
> Phil
>
>
> --
> Versioning your /etc, /home or even your whole installation?
> Try fsvs (fsvs.tigris.org)!
>
>
>

« Previous message in topic | 3 of 6 | Next message in topic »

Messages

Show all messages in topic

fsvs local changed by accident cobolt steve caster 2010-08-16 04:28:17 PDT
     Re: fsvs local changed by accident pmarek P.Marek 2010-08-16 05:10:42 PDT
         Re: fsvs local changed by accident cobolt steve caster 2010-08-16 05:17:25 PDT
             Re: fsvs local changed by accident pmarek P.Marek 2010-08-16 06:14:14 PDT
                 file permission on checkout cobolt steve caster 2010-08-16 10:38:26 PDT
                     Re: file permission on checkout pmarek P.Marek 2010-08-16 12:09:04 PDT
Messages per page: