Find Jobs
Hire Freelancers

check my linux rsync command (one liner) and send a better command for complete system backup/restore

$10-30 USD

In Progress
Posted about 10 years ago

$10-30 USD

Paid on delivery
I am attempting to do a complete rsync of "/" on a local VPS to a remote system, both running Ubuntu 12.04 -- the trouble is, running my rsync command fails by running out of memory. Apparently, rsync does its work by copying each file in its queue to memory. This won't work as I'm limited to 256mb on memory (micro VPS). Your job (AS A LINUX EXPERT) is to look at my command and send me a better "one-liner" command that will let my backup work. rsync -e "ssh -p 22 -i /home/root/.ssh/id_rsa" -avHz --no-inc-recursive / root@REMOTEIP:/ I tried doing a complete copy restore with the rsync command, but ran out of memory as described here: [login to view URL] NOTE: I do not want to use intermediate image files if possible ([login to view URL])
Project ID: 5477998

About the project

10 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
You are overwriting your desination here but if you still want to kill your REMOTEIP, you could try tar: ( tar -cpf - / ) | ssh -i /home/root/.ssh/id_rsa root@REMOTEIP "( cd /; tar -xvf - )" If you want to clone your system remotely, use a livecd at REMOTEIP, mount the soon to be root filesystems, use my tar command line, then chroot the new filesystem, update your bootloader and reboot your REMOTEIP.
$15 USD in 1 day
5.0 (7 reviews)
3.2
3.2
10 freelancers are bidding on average $26 USD for this job
User Avatar
Hi there, We specialise in postfix / phplist and email marketing servers. please see my past reviews, lets complete this project
$25 USD in 1 day
4.8 (861 reviews)
8.4
8.4
User Avatar
I can help to you with rsync command **************************************************************************************
$35 USD in 1 day
4.8 (206 reviews)
6.9
6.9
User Avatar
Hi, I have 5 years experience in Linux and open source. I've setup hundreds of server with various type of services : mail (postfix, exim), apche, dns (bind), ftp, ssh, mysql, keepalived ... I'm also an expert in network technology, pls check Pls give me a chance to satify you. Tks
$25 USD in 1 day
4.9 (19 reviews)
4.0
4.0
User Avatar
You cannot make a backup of you system whit rsync, your restore will not work. However if you want one of your rsync your server you have to exclude some directories. I can explay to you the better method. Thank You. Andrea Campi
$20 USD in 1 day
5.0 (5 reviews)
3.5
3.5
User Avatar
Hi, The usual reason for "out of memory" when running rsync is that you are transferring a _very_ large number of files. The size of the files doesn't matter, only the total number of files. As a rule of thumb you should expect rsync to consume about 100 bytes per file in the file list. This happens because rsync builds a internal file list structure containing all the vital details of each file. rsync needs to hold structure in memory because it is being constantly traversed. It may be, you must consider a different approach to restore your backup. Drop me a line if you are intersted in my services.
$30 USD in 0 day
5.0 (2 reviews)
2.7
2.7
User Avatar
Hello, My name is Rados Nikolic. I am certified Microsoft and Linux system administrator. Also, my job is coding (PSD to HTML) and Word Press development. Currently I am working at one Swedish web development company and I have a lot of experience on my field. This is the first time I am looking for a job here seriously and because of that, I do not have any passed exams or references. But, i can guarantee to you a high quality in my work. Regarding the servers, I am working with more than 25 VPS servers in my company right now. Also, I think that is better solution for you a "script-cron" backup method. I can write for you one script which makes backup (anything you want to backup) and second one which will be "transfer backup script to another server". Than, I will setup 2 cron jobs on your server, one for the backup and a few minutes latter, second one to transfer this backup to another server all any other location. All I need for this is SSH access to your server and server where you want to transfer backups. Hope that we'll start to cooperate together as soon as possible. Best regards, Rados
$35 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Make sure you are using the latest version of rsync. At least v3.0.0 or above. They improved the memory utilisation a lot in the latest versions. Dan
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Brooklyn, United States
4.8
9
Member since Oct 14, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.