Find Jobs
Hire Freelancers

linux script not working

$10-30 USD

Закрито
Опублікований about 6 years ago

$10-30 USD

Оплачується при отриманні
#!/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 error message : [/share/MD0_DATA/apps] # ./[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
ID проекту: 16419393

Про проект

19 пропозицій(-ї)
Дистанційний проект
Активність 6 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
19 фрілансерів(-и) готові виконати цю роботу у середньому за $25 USD
Аватарка користувача
hello i work as a senior linux administrator in a hosting company. can check and fix your bash script very fast
$20 USD за 1 день
5,0 (119 відгуки(-ів))
5,9
5,9
Аватарка користувача
Dear Employer, I can help you with your shell script and make it work. If you have any questions, don't hesitate to contact me.
$20 USD за 1 день
5,0 (15 відгуки(-ів))
5,0
5,0
Аватарка користувача
A proposal has not yet been provided
$30 USD за 1 день
5,0 (36 відгуки(-ів))
4,6
4,6
Аватарка користувача
Please give me more details about this script. I can try debugging it right away. I have done lot of scripts before in bash, python. Share more details.
$30 USD за 1 день
5,0 (8 відгуки(-ів))
3,5
3,5
Аватарка користувача
Hi, Thank you for posting your requirement. My name is Inderjeet, we're a small IT services firm based at Chandigarh, India. From looking at the script it seems you are trying to backup Linux system folders to a local folder in a date based folder. From what what I could understand, you're creating a folder in /share/MD0-backup1/incomplete_<date>/ and then when successful renaming it to <date> while symlinking it to "latest". Correct? There seems some issue with the rsync syntax. Due to line breaks I could not properly interpret the scrip but I suspect the rsync command isn't getting properly built. I'll try it after a few hours upon hearing from you. May I know which flavour and version of Linux are you going to run it on? Please do let me know if you have any questions. I'll be happy to assist. Sincerely, Inderjeet Singh Sodhi (jhjk05032018jmljk)
$35 USD за 1 день
5,0 (5 відгуки(-ів))
3,5
3,5
Аватарка користувача
Hello. I will fix your bug in 1 day
$35 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
Hello, It's very simple - you need to check the correct paths in the server from where you're running this script. Don't think this warrants a project for this, it's a 2 minute thing. Kind regards, CRC
$25 USD за 1 день
0,0 (0 відгуки(-ів))
1,4
1,4
Аватарка користувача
Familiar about linux, script and linux component. Just need know the detail about database, database location. location to backup and what time to run it..
$25 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
This looks like it's only a syntax issue in the script and just requires debugging and correcting the script.
$25 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
Software engineer, 9 years of development experience using various technologies and platforms. Good at shell scripting.
$25 USD за 1 день
0,0 (0 відгуки(-ів))
1,1
1,1
Аватарка користувача
I can fix this programming stuff Relevant Skills and Experience MTech CS
$25 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
A proposal has not yet been provided
$23 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
It looks like folded error. We can fix easily.
$25 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
A proposal has not yet been provided
$27 USD за 2 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
A proposal has not yet been provided
$21 USD за 1 день
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED KINGDOM
London, United Kingdom
5,0
73
Спосіб оплати верифіковано
На сайті з лист. 8, 2009

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.