• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Check backup file integrity

G

gnosis

Guest
Hello. I've just run the pleskbackup utility for the first time. (previously I'd been using a custom script...thought I'd give this thing a try).

The command used was /plesk_bin_dir/pleskbackup --all /var/backup/pleskbackup

I see that 2 files were created: pleskbackup (2GB) and pleskbackup.001 (58MB)

Does the existence of the second file indicate that there was a problem? I see no mention in the docs about more than one backup file being created.

Also, is there a way to check the integrity of plesk backup files? The only indication I have that it "worked" is the size of the file. Well, the larger file, anyway. 2GB seems smallish but probably about right with good compression. Anyway, how can I tell if this/these backup files are worth anything? Is there a "verify backup file" utility?

Thanks,
G
 
pleskbackup just splits backup file into 2GB parts by default. Second file does not indicate any errors.

At least you may check backup compression correctness: zcat pleskbackup* > /dev/null

I don't know easy way to check content archives correctnes however...
 
if you want pleskbackup to split files in a larger zise use the function
export PLESKX_SPLIT_SIZE=FILESIZEHERE

I personally use 21474836480 (20 gb)

for testing its integrity, well im on the same road as everyone, as it doesnt tells you anything.
 
Back
Top