arrow_upward

Pages (2):
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
#1
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?
#2
It can be like:
zip -r backup.zip /your/directory/path/which/need/backuped
 Administrator
admin@post4vps.com


#3
I want to backup all my files so shall i use
root@vps4:~# zip -r backup.zip /root
Or another cmd?
#4
(01-09-2018, 02:44 PM)youssefbasha Wrote: I want to backup all my files so shall i use
root@vps4:~# zip -r backup.zip /root
Or another cmd?

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.
 Administrator
admin@post4vps.com


#5
(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?
#6
(01-09-2018, 03:27 PM)youssefbasha Wrote: 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?

Like if you wants to move backup.zip to /var/www/html/:
mv backup.zip /var/www/html/
 Administrator
admin@post4vps.com


#7
(01-09-2018, 03:56 PM)Dynamo Wrote: Like if you wants to move backup.zip to /var/www/html/:
mv backup.zip /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:~#
#8
(01-09-2018, 04:01 PM)youssefbasha Wrote: 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:~#

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/sus....copy.html
 Administrator
admin@post4vps.com


#9
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 Sad
#10
How to make a auto backup script with make backup on every change happens in vps.
Heart LOVE FOR ALL  HATRED FOR NONE Heart
Pages (2):


person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting