LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-20-2005, 09:44 PM   #1
osiris69
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
Migration


Hi all, i have this linux based web and ftp server running on a 20 GB harddisk space, it is using up the disk space rapidly and i intend to migrate to another server. But before i know, i'm left with less than 5 GB of disk space which disallow me to backup all the /home data. Is there anyway to backup the data over to a network drive??? Or is there another solution to do so??? Help needed, thanks
 
Old 03-20-2005, 11:38 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Can you scp stuff off the server? If so, you can scp things off. There's a handy way of using SSH and tar to backup files, it goes as follows (working on the server whose files you want to back up:

tar -czf - <files/directories to back up> | ssh user@remosthost 'cat > backup.tgz'

This will create backup.tgz with your backup on the remote machine without having to create a tar file on the local machine first.
 
Old 03-21-2005, 07:53 PM   #3
osiris69
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Hi, thanks for the reply. As told, i tried doing the backup, and i got this error message "bash: syntax error near unexpected token `|'" Erm......I'm quite new to this, what can i do to resolve this?
 
Old 03-21-2005, 08:00 PM   #4
osiris69
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
okie, got it, its backing up now, will keep you posted, thanks ya.
 
Old 03-27-2005, 09:41 PM   #5
osiris69
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Re: Migration

Quote:
Originally posted by osiris69
Hi all, i have this linux based web and ftp server running on a 20 GB harddisk space, it is using up the disk space rapidly and i intend to migrate to another server. But before i know, i'm left with less than 5 GB of disk space which disallow me to backup all the /home data. Is there anyway to backup the data over to a network drive??? Or is there another solution to do so??? Help needed, thanks
Can i increase the time that i can connect through SSH? Because my timeout is 120 seconds and i had to have some activities on the server in order to make the connection alive.
 
  


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
Question about possible migration KezzerDrix Debian 6 04-08-2005 12:45 PM
Partition Migration dmoc Linux - General 3 08-26-2004 05:03 AM
Help in the migration process! Mazen Alzogbi Linux - Newbie 2 11-15-2003 03:04 PM
Migration Completed jeremy LQ Suggestions & Feedback 2 11-03-2003 01:23 AM
Migration digimak Slackware 2 10-06-2003 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:17 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration