Backup windows sharing in fedora
Hi all,
I like a script for backup of windows 10 shares for an external hd in fedora? I don't have idea how to do this. |
You will need to take a look at smb, mount, and cp. Start by googleing "samba bash script". That is a start.
|
Looking on google I found this method:
#!/bin/bash echo "Mounting" mkdir -p /mnt/Backup mount -t cifs //192.168.200.110/Backup -o usernamer=Admin,password="" /mnt/Backup cp -Rap /mnt/Backup /media/Backup/Admin umount /mnt/Backup but to this method must be root and run the script when it does not become root, now I'm discovering as I get the script as root. |
All times are GMT -5. The time now is 05:33 AM. |