LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-26-2006, 03:35 AM   #1
dimsh
Member
 
Registered: Aug 2005
Distribution: Debian, Ubuntu, Fedora
Posts: 74

Rep: Reputation: 15
What is the Best way for uploading accumulated files?


Hi all, I need suggestions on this please...

We have a local PC hosting a project designed with java and using Tomcat as its web server.
The webapp directory for that application has a size of about 600MB and a very big number of files.

Now I need to upload the alpha version of this webapp to the remote PC (the real server) for testing, the problem is I need to keep the remote copy the same as local copy, I can not upload 600MB every time a file got changed locally, and I can not use Sync of any kind because I have problem connecting the local PC to the remote via FTP or SSH (ISA and ISP issue),
so I need to upload only Changed Files manually.

How can I get the only changed files since the last upload , the last upload may be incremental too, so for example the third sync must take care of the second and first syncs and so on, and here where I got confused.

can I use rdiff ? can it make the backup on local machine and then restore on other machine? I am not familiar with it actually, but it is good in incremental backups.
or there is another way for doing so.

I am looking forward for any suggestions.

Regards
 
Old 01-26-2006, 10:19 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by dimsh
Hi all, I need suggestions on this please...

We have a local PC hosting a project designed with java and using Tomcat as its web server.
The webapp directory for that application has a size of about 600MB and a very big number of files.

Now I need to upload the alpha version of this webapp to the remote PC (the real server) for testing, the problem is I need to keep the remote copy the same as local copy, I can not upload 600MB every time a file got changed locally, and I can not use Sync of any kind because I have problem connecting the local PC to the remote via FTP or SSH (ISA and ISP issue),
so I need to upload only Changed Files manually.

How can I get the only changed files since the last upload , the last upload may be incremental too, so for example the third sync must take care of the second and first syncs and so on, and here where I got confused.

can I use rdiff ? can it make the backup on local machine and then restore on other machine? I am not familiar with it actually, but it is good in incremental backups.
or there is another way for doing so.

I am looking forward for any suggestions.

Regards

you can share the remote computers harddrive Read/Write


Samba or NFS


mount -t smbfs \\10.0.0.56\dump /mnt/sync
cp -R -u /webappdir/* /mnt/sync/webappdir/


-u only copies newer files and ones that dont exist.
-R recursive copies all files folders etc


copy command is surprisingly flexible
cp --help

Last edited by carl0ski; 01-26-2006 at 10:22 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading files stops after a few KB TTL_2 Linux - Networking 5 03-31-2005 01:08 PM
Uploading Files lmanwarren Linux - Software 1 03-21-2005 09:48 AM
Managing a Website - Uploading Files BionicJoe Linux - Software 1 02-11-2005 03:37 AM
uploading files using putty ? lozz1978 Linux - Newbie 2 02-20-2004 11:30 AM
PHP and uploading files Syncrm Linux - General 5 07-02-2002 12:49 PM


All times are GMT -5. The time now is 11:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration