Find Jobs
Hire Freelancers

linux script not working , pasted the shell file code in the description ..

$10-30 USD

Closed
Posted about 6 years ago

$10-30 USD

Paid on delivery
this is the code in the file , basically using rsync to copy multiple folders into backup folder with dates #!/bin/bash date=`date "+%Y-%m-%dT%H-%M-%S"` backup=/share/MD0_DATA/backup1 targets="/bin /etc /lib /lib64 /opt /sbin /usr /var" mkdir -p $backup/logs rsync -a \ --stats \ --partial \ -h \ -H \ -A \ -X \ -x \ -R \ --log-file=$backup/logs/$[login to view URL] \ $targets \ --link-dest=$backup/latest \ $backup/incomplete_$date \ && mv $backup/incomplete_$date $backup/$date \ && rm -f $backup/latest \ && ln -s $backup/$date $backup/latest ---------------------------------------------------------------------------------------------------------------------------------------------------------------- script gives this error message : # ./[login to view URL] rsync: link_stat "/share/MD0_DATA/apps/ " failed: No such file or directory (2) Number of files: 0 Number of files transferred: 0 Total file size: 0 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 3 File list generation time: 0.001 seconds File list transfer time: 0.000 seconds Total bytes sent: 12 Total bytes received: 12 sent 12 bytes received 12 bytes 48.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1638) [sender=3.0.7] ./[login to view URL]: line 22: /bin: is a directory #
Project ID: 16419758

About the project

16 proposals
Remote project
Active 6 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
16 freelancers are bidding on average $23 USD for this job
User Avatar
Hi, I can help you to check and fix it. I know bash script __________________________________________ regards Andy
$30 USD in 1 day
5.0 (67 reviews)
6.8
6.8
User Avatar
This bid is to debug / modify the existing rsync bash script to solve the error seen in the project description.
$30 USD in 1 day
5.0 (49 reviews)
6.3
6.3
User Avatar
I am expert in python for web application development using django and flask with API integration and customization. Also a good hand in Odoo ERP customization ,Web scraping and lexical analysis. I am a Oracle Certified professional (OCP) with experience in Oracle,MySQL, SQL Server and MongoDB. I can help you with your requirements. Please initiate online chat.. so we can proceed with discussion
$50 USD in 1 day
4.9 (53 reviews)
6.0
6.0
User Avatar
hi, May i have ssh connection to the server? Or perhaps you can share your screen via team viewer so that i can look into it? Lets discuss more. thanks
$24 USD in 1 day
5.0 (59 reviews)
5.3
5.3
User Avatar
Hi, I test your script and it works but it need some modifications because it need to create some extra folders before run. Open to questions
$20 USD in 0 day
4.8 (60 reviews)
5.4
5.4
User Avatar
I'm an expert bash programmer and I think I saw the problem. Could you try adding slash after the target directory names ? :)
$25 USD in 1 day
4.9 (14 reviews)
4.5
4.5
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I checked your script and I can solve this problem for you, I actually have an idea of what can be the problem.
$27 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$19 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Pleased to meet you. Im a Computer Engineer with more than 20 years of experience working with Linux and BSD. I have developed multiple complex systems based on shell script. Im sure I will solve your issue and lead your project to success. Please contact me for more information to start working together!
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi I will check if this folder is exist or not /share/MD0_DATA/apps/ I have finished two shell script freelance task using another platform (fiverr and upwork), i am a certified Linux Admin and Linux Instructor, I have been working for 13 years Rgs Muhammad Momon RHCSA
$14 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$20 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
101
Payment method verified
Member since Nov 8, 2009

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.