targets="/bin /etc /lib /lib64 /opt /sbin /usr /var"
mkdir -p $backup/logs
rsync -a \
--log-file=$backup/logs/$[login to view URL] \
&& 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
19 freelance font une offre moyenne de $25 pour ce travail
hello i work as a senior linux administrator in a hosting company. can check and fix your bash script very fast
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.
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.
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 l Plus
Software engineer, 9 years of development experience using various technologies and platforms. Good at shell scripting.
This looks like it's only a syntax issue in the script and just requires debugging and correcting the script.
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..
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