How Do I retrieve my backups?

paulstav416

Registered
Sep 21, 2006
3
0
151
So one of the files on my server magically stopped doing its job the other day. How would I go and retrieve one of the backups made by cPanel so I can get the older version of the file? I remember being taught by someone how to do it with SSH, but I forgot to keep notes. This time I will:)

Thanks,
Paul
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
paulstav416 said:
So one of the files on my server magically stopped doing its job the other day. How would I go and retrieve one of the backups made by cPanel so I can get the older version of the file?
I am not sure if I understand your question correctly, but to get a copy of a file from a tar.gz backup, do the following (Assuming you store your backup data in /backup):
cd /backup/cpbackup/<daily> or <weekly>
ls -al | more
tar xzf USERNAME.tar.gz
cd USERNAME/homedir