Backup HELP - Printable Version +- Post4VPS Forum | Free VPS Provider (https://post4vps.com) +-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion) +--- Forum: VPS Protection (https://post4vps.com/Forum-VPS-Protection) +--- Thread: Backup HELP (/Thread-Backup-HELP) Pages:
1
2
|
Backup HELP - youssefbasha - 01-09-2018 Now its time to backup my vps so can someone tell me how to make a backup with zip, i want to move it to web path(usually /var/www/html/ for Apache) and download it in any other VPS by wget ipofvps/zipname.zip So can someone tell me how to make a zip backup? RE: Backup HELP - Dynamo - 01-09-2018 It can be like: Code: zip -r backup.zip /your/directory/path/which/need/backuped RE: Backup HELP - youssefbasha - 01-09-2018 I want to backup all my files so shall i use root@vps4:~# zip -r backup.zip /root Or another cmd? RE: Backup HELP - Dynamo - 01-09-2018 (01-09-2018, 02:44 PM)youssefbasha Wrote: I want to backup all my files so shall i use If your files are at /root then just backup that folder and if it's present in any other place like /home then you can replace your path with that. RE: Backup HELP - youssefbasha - 01-09-2018 (01-09-2018, 03:23 PM)Dynamo Wrote: If your files are at /root then just backup that folder and if it's present in any other place like /home then you can replace your path with that. I only have this at the vps https://vps4.samp-pw.ga and its on root and now i backuped root, how to move it to /var/www/html? RE: Backup HELP - Dynamo - 01-09-2018 (01-09-2018, 03:27 PM)youssefbasha Wrote: I only have this at the vps Like if you wants to move backup.zip to /var/www/html/: Code: mv backup.zip /var/www/html/ RE: Backup HELP - youssefbasha - 01-09-2018 (01-09-2018, 03:56 PM)Dynamo Wrote: Like if you wants to move backup.zip to /var/www/html/: root@server:~# wget hidden/backup.zip --2018-01-09 16:00:39-- hidden/backup.zip Connecting to hidden:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-01-09 16:00:39 ERROR 404: Not Found. root@server:~# RE: Backup HELP - Dynamo - 01-09-2018 (01-09-2018, 04:01 PM)youssefbasha Wrote: root@server:~# wget hidden/backup.zip Told you, that path only for normal Apache server. Since it comes from plesks, they have their own paths for it.. either you search there web path and upload there or use scp to directly transfer files from one VPs to another through SSH. https://www.pks.mpg.de/~mueller/docs/suse10.2/html/opensuse-manual_en/manual/sec.filetrans.copy.html RE: Backup HELP - youssefbasha - 01-09-2018 Can i give you access of my 2 vps and you do it as i really need it and please don't tell me no as i wont trust anyone else RE: Backup HELP - sagher - 01-27-2018 How to make a auto backup script with make backup on every change happens in vps. |