Copying ConfigServer config files
Hi guys
I'd like to copy my ConfigServer config files from one server to another, I have done this before but really can't remember how.
I have logged in to terminal and zipped up config files using:
tar cvfz csfbackup.tgz csf.conf csf.allow csf.deny csf.*ignore
I don't know much linux stuff at all, how do I download this .tgz file to my laptop (wget?) and then what command do I use to re-upload it on the new server in to the /etc/csf directory?
Thanks.
-
You can simple transfer it using scp or rsync directly to the new server as follows: scp -r csfbackup.tgz root@IPADDRESS:/etc/ or rsync -av csfbackup.tgz root@IPADDRESS:/etc/ and then extract it there 0 -
A manual tool like @andrew.n mentioned would be the best way to get that data moved. 0
Please sign in to leave a comment.
Comments
2 comments