Toni Van Remortel wrote: > Adam Goryachev wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Toni Van Remortel wrote: >>> Rob Owens wrote: >>>> 1) I've successfully "pre-populated" backups in the following way. >>>> >>>> a) Configure backuppc to backup my host machine (myhost.com) over the >>>> internet. >>>> b) Take my host machine (myhost.com) and physically place it on the same >>>> local network as my BackupPC server. >>>> c) Determine the local IP address of the host machine (lets say it's >>>> 192.168.1.100) >>>> d) Edit /etc/hosts on the BackupPC machine to include the following line: >>>> 192.168.1.100 myhost.com >>>> >>>> This "tricks" the BackupPC machine into looking on the local network for >>>> myhost.com >>> Well ... I do not have the option to take the physical machines to my >>> network (and it are about 100 servers), but I might use this trick with >>> setting up a simulation host, filling in /etc/hosts for all hosts >>> temporary (pointing all to the same IP), and then run all backups. >>> That will however result in ... very much lost time :-( >>> >>> No other options? >> Basically you need some method to get an exact copy of the remote data >> on your local network. > > The current backup system (working with some simple scripts) has all the > data (about 480GB). This can be transferred to the new backup server > without any trouble. > >> Your real problem is how to get the data from the remote location to the >> local. Actually, thinking about it, since you will need quite a large >> amount of storage space to copy 1000 servers worth of data, you might as >> well just take the backuppc server to the remote location, leave it for >> some time (maybe days if needed) run a full backup of each machine, then >> bring it back. >> >> You haven't specified how far away the remote location is, so dunno if >> the above really helps, but the above generic info really says it all >> anyway. > > The situation is like this: > - 60 custom built routers in 60 different locations (all within a range > of 50km from us). > - behind each router 1 or 2 servers (100 in total) which need to be in > our backup > - each server has a single 'data' share which is mounted on the router > trough cifs on /mnt/samba/data > So I need to backup (on each router): /etc, /home, /var/lib and > /mnt/samba/data. > > Needless to say that is much work in both situations: or placing my > backup server @ the clients, or setting up a simulation host. > > I wish there was a sort of BackupPC_Import tool ...
I'm not sure how this can be made easier, unless I'm misunderstanding something. Your problem is that it'll take forever to do the first backup over the internet, so you have to do something to get the BackupPC server and the host data on the same local network. If you don't move the entire server, then you at least need to put the data onto a removable hard drive and ship that to the BackupPC server location. You could mount the removable drive on the BackupPC server as /mnt/samba/data and then set ClientAliasName (for the specific host you're backing up) to localhost. -Rob ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
