/usr/local/cpanel/scripts/backups_list_user_files script locates a user's backup files and returns all of the backup files in the Comma-Separated Value (CSV) format.
To query and return a list of backup files, run the following command as the
/usr/local/cpanel/scripts/backups_list_user_files script accepts the following arguments:
|The user whose backup files you wish to query.||The cPanel account's username.|
Returns the regular expression search results.
This argument only accepts one search value.
|A valid string.|
For example, the following command uses the
--regexp argument to return results for the
username user that match the
The system will return the following output:
Backup file details
The following image displays an example backup file return in CSV format.
|File creation date, in UTC||The file's creation date in Universal Time Coordinated (UTC).|
|File size||The backup file's size, in bytes.|
|The backup format type|
One of these backup format types:
The matching filename from the backup
|The file's path, relative to the |
|The file's archive or full path||For compressed and uncompressed backups, the archive path in which the file resides. For incremental backups, the full path to the file.|
|The backup file's type|
One of these backup file types: