Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
How to backup a VPS from the inside - PC✗3
How to backup a VPS from the inside

How to backup a VPS from the inside

Here is how to backup a VPS “from the inside”

Create a directory for the container:

mkdir /backup

Create an archive vpsbackup.tar.gz of all files and place it in this folder:

tar -zcvpf /backup/vpsbackup.tar.gz --directory=/ --exclude=proc --exclude=sys --exclude=dev/pts --exclude=backup .

After a few minutes, depending on the disk size, the backup will be created.

MobaXterm Personal 20.3 L2R6UCkkiZ - How to backup a VPS from the inside

Send the backup to a remote server:

scp vpsbackup.tar.gz user@host:/path/to/copy

Extract files on another server:

tar -C /path/to/extract -zxvpf vpsbackup.tar.gz
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.