yackko
asked on
Simple Backup of a Linux folder to remote Windows File Server
Hi,
I'm trying to backup a specific folder in Linux (Red Hat) and been trying to come up with very simple script to do so. I'm mkdir a directory call 'backup'. Then I tar the folder I want and have it dump to the folder call 'backup'. After that, I cp the file to a Windows Network Share. The problem is every time I run these command in a script format in bash, it chokes. Just wondering what I'm doing wrong?
I'm trying to backup a specific folder in Linux (Red Hat) and been trying to come up with very simple script to do so. I'm mkdir a directory call 'backup'. Then I tar the folder I want and have it dump to the folder call 'backup'. After that, I cp the file to a Windows Network Share. The problem is every time I run these command in a script format in bash, it chokes. Just wondering what I'm doing wrong?
Can you send me the script? then I can check off.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.