How to backup Contabo Virtual Private Server (VPS) Ubuntu Linux iRedMail Mail Server using the tar utility

# cd / 


# nohup tar -cvpjf backup.tar.bz2 \

--exclude=/backup.tar.bz2 \

--exclude=/nohup.out \

--exclude=/swapfile \

--exclude=/proc \

--exclude=/tmp \

--exclude=/dev \

--exclude=/sys \

--exclude=/run / &


# tail -f nohup.out


# du -h backup.tar.bz2

2.8G    backup.tar.bz2


# mv backup.tar.bz2 contabo-ubuntu-iredmail-24sep2021.tar.bz2


Check if the backup job has finished.


# ps -ef | grep tar


Comments

Popular posts from this blog

[24 Mar 2022 Thursday] Erectile Dysfunction and Viagra

Patching Linux Kernel 5.5.7 to Add Support for AUFS Filesystem