Закрыт

Tweak Server Backup Script

Job Description:

My server is a VPS hosted by Contabo.com.

The VPS runs Virtualmin/Webmin.

I used to backup this server to my local machine, a Mac running Big Sur, using this command:

rsync -avrz --progress --delete --force --exclude "/dev/" --exclude "/proc/" --exclude "/run/" --exclude "/sys/" --exclude "/tmp/**" --exclude "cart" --exclude "/mail" --exclude ".gz" --exclude ".tar" --exclude "*.zip" --rsync-path="sudo rsync" -e 'ssh -p 2610' admin@[login to view URL]:/ Server-Whole-Latest/

The command worked fine, but the destination folder got bloated with extra files for some reason.

So I hired a contractor to tweak the script and he came up with this:

See attached file - Upwork deleted special characters.

That works quite well, but there are a couple of limitations.

1. The script stops running after a certain time, giving the error message:

client_loop: send disconnect: Broken pipe

rsync: connection unexpectedly closed (4401386723 bytes received so far) [receiver]

rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Broken pipe (32)

rsync error: unexplained error (code 255) at /AppleInternal/BuildRoot/Library/Caches/[login to view URL](1122) [generator=2.6.9]

Andy@Andy-Desktop ~ % rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/BuildRoot/Library/Caches/[login to view URL](453) [receiver=2.6.9]

So I tried to edit the file that disconnects the stream, but it's a Mac system file and my Mac won't let me save the edit.

I need someone who can edit the backup script to copy the server without interruption, the way the first script used to.

2. This issue is minor.  The first script only used to ask me for my remote server password, but the new script prompts me for my Mac password is well.  I want that gone.

NO placemarker bids.

Quote your price for the job – NOT your hourly rate.

NO phone calls or emails; Freelencer applications only

Навыки: Linux, Ubuntu, Shell Script, Системное администрирование

О клиенте:
( 84 отзыв(-а, -ов) ) Aldgate, Australia

ID проекта: #35832365

5 фрилансеров(-а) готовы выполнить эту работу в среднем за $34

udayarpandey2022

Greetings! I can fix your script for $50 AUD. I have very good experience with bash scripting. Will be happy to help you. Thank you Ganesh D.

$50 AUD за 7 дней(-я)
(572 отзывов(-а))
7.4
bms8197

Hello there, I have over 15 years of experience as a Senior Linux System Administrator. I'm also a cPanel certified server administrator. I'll be more than happy to help you with your project. I can start right away! Больше

$25 AUD за 1 день
(207 отзывов(-а))
6.5
nickdevops

Hello my name is Nikos and Im working on the Linux server administration field for the past 6 years. Over these years I worked for two web hosting companies as a Senior Administrator managing their servers & providing Больше

$40 AUD за 1 день
(60 отзывов(-а))
5.6
freelancerkitong

HELLO, Greetings and hoping you are doing well, i welcome you to my profile where quality and client satisfaction is the Priority. I am FreelancerKitong and i hope to cooperate with you on your project . CERTIFIED EXP Больше

$20 AUD за 1 день
(0 отзывов(-а))
0.0