04-02-2013
You're suggesting to maintain two separate working copies of a bunch of files, and keep them synced. I don't do that. So I'm reluctant to advise on this. If things didn't work correctly, it could be a big mess.
I always have just one working copy of everything, and I always access and work on that one copy. I think it's safer to just have one working copy. I back up that one copy in multiple ways to make sure it is not lost, and that I can retrieve a previous version if needed.
I think the only person who could advise you would be someone who keeps two working copies of everything, as you want to do.
Is there any chance you might just keep the files on the remote computer, and access them from your laptop?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to take daily backup(11pm) of /var/www to /mnt/bak excluding /var/www/videos and /var/www/old. HOW to implement a rotating snapshot method, so that i can have multiple(say 4) automatically rotating backups. (0 Replies)
Discussion started by: proactiveaditya
0 Replies
2. Shell Programming and Scripting
hello,
i need to modified my synch/back scripts....
i want that this script only syncro folders in destinationfolder.
f.e. when in destination are two folders
1) admin
2) users
but in SOURCE are three:
1) admin
2) users
3) antivirus
the script should only increnmential sync the... (0 Replies)
Discussion started by: onkeldave
0 Replies
3. Cybersecurity
I've got a new MythTV box at home and figured it would be a great opportunity to use it to do daily mirrors of my mysqlbackup directory (let's say /mysqlbackup/backups) and my website at /usr/local/apache/htdocs and below.
I figured it would be a best practice NOT to use a root login but to... (0 Replies)
Discussion started by: dheian
0 Replies
4. Shell Programming and Scripting
How do i use Rsync yo pickup only new or modified files from source?
I am using rsync -ravzpotu --delete-excluded but sometimes it goes thru all files again (5 Replies)
Discussion started by: sprool
5 Replies
5. UNIX Desktop Questions & Answers
I'm using this script to backup an external hdd to another external hdd -
rsync -aE --delete --exclude Volumes/Disk\ A/.Trashes "/Volumes/Disk A" "/Volumes/Disk A Backup"The source drive being "Disk A", and the drive I wish to backup to being "Disk A Backup".
I'm constantly getting this error,... (4 Replies)
Discussion started by: Orbient
4 Replies
6. Shell Programming and Scripting
Hi,
Do we have any options in rsync to recover files from the backup?
Please share your thoughts.
Thanks in advance. (0 Replies)
Discussion started by: MVEERA
0 Replies
7. Shell Programming and Scripting
Hi Everyone,
we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment?
Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies
8. Shell Programming and Scripting
Hello everybody
I'm triing since few days to do this. So sorry if my question looks stupide, but i've tried.
I have to get picture from a folder (who is updated automaticly and with subfolder) with theirs extensions (i'm ok on that) and this files have to me copied in a folder where a website... (7 Replies)
Discussion started by: boytruc
7 Replies
9. AIX
Hi,
I am trying to use rsync utility through ssh to synchronize some root files of 2 servers.
I have a rsyncusr user in each server. I configured ssh with no password. I set NOPASSWD in the /etc/sudoers file:
rsyncusr ALL= NOPASSWD:/usr/bin/rsync
In order to make rsync able to sudo and be... (2 Replies)
Discussion started by: samalogo
2 Replies
10. UNIX for Dummies Questions & Answers
Hello All,
I am looking at a fast way to script some backups. I am looking at using rsync to do the leg work. I am having a hard time conceiving a script though.
I have a tree with subfolders within subfolders. I was looking at the /xd option to parse the tree.
Directory of k:\
... (4 Replies)
Discussion started by: jvamos
4 Replies
LEARN ABOUT OSX
svk::help::intro
SVK::Help::Intro(3) User Contributed Perl Documentation SVK::Help::Intro(3)
NAME
SVK::Help::Intro - Introduction to svk
DESCRIPTION
svk is an open source distributed version control system which is designed to interoperate with Subversion. Like other version control
systems, it keeps track of each change you make to a project and allows you to maintain multiple parallel tracks of development. svk also
has a number of powerful features which are rarely found in other version control systems.
svk has been designed from the ground up to support development models that are simple and intuitive for software developers. It has
advanced smart branching and merging semantics that make it easy to maintain multiple parallel lines of development and painless to merge
changes across branches. svk's built in patch manager makes it easy for non-committers to share changes among themselves and with project
maintainers
svk provides powerful support for distributed development. Every svk client is capable of fully mirroring remote Subversion repositories
so that you have full access to a project's history at any time, even when they are off the network or on the wrong side of a firewall.
You can branch a remote project at any point in that project's history, whether or not you have write access to that project's repository.
Later, you can integrate changes from the project's master server (usually with a single command) or push your branch up to another
Subversion repository.
GETTING STARTED
svk has a rich command line interface that can be somewhat daunting at first. the following few commands are all you'll need for day to day
operation.
svk mirror
First, you'll need to mirror a remote repository. This sets up a local copy of that repository for you to branch from, merge to and
otherwise poke at. The local path is sometimes called a "depot path."
svk mirror svn://svn.example.com/project_x //mirror/project_x
svk sync
When you've set up a new mirror or want to get some work done without a network connection, sync your local repository with upstream
repositories.
svk sync //mirror/project_x
svk checkout
When you want to get some work done, you can checkout a working copy to make changes.
cd ~/svk-checkouts
svk co //mirror/project_x
If you want to work offline, you can create a local branch
cd ~/svk-checkouts/project_x
svk branch --offline
svk add, svk delete and svk move
As you work on the files in your working copy, feel free to add new files, delete existing files and move files around.
cd ~/svk-checkouts/project_x
svk add Changelog
svk move badly_named_file.c well_named_file.c
svk delete .README.swp
svk commit
When you're done, just commit your changes to your local repository, whether or not you have network. If you commit to a mirrored
path, rather than a local branch, you'll need to be able to access the path's upstream subversion server, but the commit will be sent
to the server instantly.
svk commit
svk pull
Life doesn't stop when you make a local branch. From time to time, pull down changes from the upstream repository.
cd ~/svk-checkouts/project_x
svk pull
svk push
When you're ready to share your changes with the world, push them to the upstream repository.
cd ~/svk-checkouts/project_x
svk push
To see a full list of svk's commands, type "svk help commands". For help with a specific command, just type "svk help command".
The svk wiki (<http://svk.bestpractical.com>) is a great place to find the latest svk tips, tricks and updates. If you run into trouble
using svk, the wiki's the right place to start looking for help.
perl v5.10.0 2008-09-13 SVK::Help::Intro(3)