Backing up VPS from the inside

From vpsget wiki
Revision as of 16:39, 2 April 2013 by Vq (talk | contribs) (Created page with "This guide will show you how to backup your container "from the inside".<br/> First of all create a directory in which you will backup your container.<br/> <pre> mkrir /backup...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This guide will show you how to backup your container "from the inside".
First of all create a directory in which you will backup your container.

mkrir /backup

Below command creates an archive named ctbackup.tar.gz

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