Ogdentechguy
Verified User
- Joined
- Aug 3, 2009
- Messages
- 18
Right now I have my server set up to backup to a secondary hard drive. What I'd like to do is have it back up to a Windows fileserver. To this end, I've been copying the backups over the network to the Windows server daily with this process:
1) Create a folder on the linux server (in the same directory as the backup files) with today's date, after receiving the email notifying me that the backup is complete
2) Move all the backed up files into this folder
3) Copy the folder to the Windows share
I would of course like to completely automate this process, so that the server itself makes the folders for each date and saves them directly onto the Windows server. I think I should be able to mount the Windows share into the filesystem - and I have a spot reserved for it in /mnt - but I don't know how to do it in a way that will automatically re-mount the share on bootup. Any help on this matter, either telling me how to do it the way I think it should be done, or telling me a better way to do it, is appreciated.
DirectAdmin is running on CentOS 5.0.
1) Create a folder on the linux server (in the same directory as the backup files) with today's date, after receiving the email notifying me that the backup is complete
2) Move all the backed up files into this folder
3) Copy the folder to the Windows share
I would of course like to completely automate this process, so that the server itself makes the folders for each date and saves them directly onto the Windows server. I think I should be able to mount the Windows share into the filesystem - and I have a spot reserved for it in /mnt - but I don't know how to do it in a way that will automatically re-mount the share on bootup. Any help on this matter, either telling me how to do it the way I think it should be done, or telling me a better way to do it, is appreciated.
DirectAdmin is running on CentOS 5.0.