• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Question How to backup ?

Alexbkaze

New Pleskian
Well I want to take backup but I have one problem

I am having directory name 'files' which contain files and folders.

What I want is to exclude files that is in directory 'files' but want to include sub folders and files inside them.
 
You could create a crontab job that automatically creates a .tar.gz archive from the subfolders that you want to backup and writes that archive to a directory that is backed up. Run that job a few minutes before automatic backup is scheduled. For example something like:
# tar -czf /backed/up/path/myarchive.tar.gz /excludedpath/subfolder1 /excludedpath/subfolder2
Then you can exclude the whole "excludedpath" path from your backup, yet will still have the content of its subfolders.
 
Back
Top