Backup Solution
Hello all!
I have a rather picky requirement here. This is what I have: Because MagicJack has no linux support, I have sunk to dedicating one of my servers to windows XP for that purpose (UGGHHHH). However, thats a waste of 2 terabytes. I set up an FTP server on it so I could use it as a file backup location for lack of anything else to use windows for. I want to: Backup /home to a in-home ftp server each time the computer is turned on. However, this is where I get stuck. fwbackups: Requires SSH or SFTP. I dont care about security as this connection is only available in network anyways. There is no external access to the Backup server, and SSHd is a pain in the ASS on windows. simple backup: Requires you to compress the backup file. I dont want this. I want straight tree backup. Others: Too difficult to fuck with for such a simple solution. I think I need to point to a shell script in rc.local, but I want other opinions first. Any ideas? |
Use CIFS or NFS instead of FTP if you are in-house, it will be much easier. With both NFS, FTP and CIFS, you can mount them as folder at boot using fstab, it will make your task easier.
|
Quote:
Then you can also use this machine for running backups using whatever linux based backup system you like. Cheers, Evo2. |
OK, thanks! but how would I mount a NFS filesystem via terminal?
|
Sorry bout that, blonde moment lol. actually more of a rtfm moment....thanks!
|
I believe its MS-SFU
|
OK, so now I really am stuck. How do I go about setting this up?
These are what I want the script to do. 1) mount C:\FTP\backup Drive on 192.168.1.135 to /mnt/backups 2) copy all files (replacing files as needed, to keep most recent version) to /mnt/backups Such a simple script, but I'm getting mounting errors, so I need help with the nfs configuration. Thanks! |
Quote:
|
Quote:
Cheers, Evo2. |
lol not sure if that was sarcastic but thanks? heres what I did to solve this need:
1) Setup full file sharing on C:\FTP 2) Created this simple script called backup in /usr/bin: Code:
#!/bin/bash Code:
#!/bin/bash Code:
sudo chmod +x /usr/bin/backup Code:
sudo aptitude install gnome-schedule Voilah! Simple, unsecure (inside the network) file backup :) lol |
Better late than never
to mlunt a CIFS share: mount -t cifs //IP/shareName /mnt/mountPoint -o username=foo,password=bar in fstab: //IP/shareName /mnt/mountPoint cifs default,username=foo,password=bar 0 0 |
All times are GMT -5. The time now is 04:19 PM. |