Link to home
Start Free TrialLog in
Avatar of yackko
yackkoFlag for United States of America

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?
Avatar of midrisi
midrisi

Can you send me the script? then I can check off.
ASKER CERTIFIED SOLUTION
Avatar of freaky_NL
freaky_NL
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial