Backing up VPS from the inside
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 .