Đã Đóng

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

Kĩ năng: Linux, Ubuntu, Shell Script, Quản trị hệ thống

Về khách hàng:
( 84 nhận xét ) Aldgate, Australia

ID dự án: #35832365

4 freelancer chào giá trung bình$38 cho công việc này

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 trong 7 ngày
(593 Nhận xét)
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! Thêm

$25 AUD trong 1 ngày
(211 Nhận xét)
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 Thêm

$40 AUD trong 1 ngày
(60 Nhận xét)
5.6