Table of Contents
When an allowed app is registered in 'rwv' mode, if files or folders stored on the server are updated, backup files/folders are created. You can modify the original files using the backup files.
View backup file list
- Navigate to the location where the ‘./[volume_name]’ executable file is stored. (e.g., /namusoft/megaclient).
cd /namusoft/megaclient - Execute the following command to check if there are any backup files:
‘access_path’ : The path where the backup files are stored (e.g., / )./[volume_name] -rls access_path- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
If no backup files are found, the message 'no revision file.' will be displayed.Note
You should specify the relative path. For example, if the ‘/root/mount_point’ directory is mounted, to check for backup files or folders stored in the ‘/root/mount_point/test’ folder, specify the access_path as ‘/test’.
- Execute the following command to view the revision file information of the backup file:
‘access_path’ : The path where the backup file is stored, along with the name of the file to be checked (e.g., /test1/200.txt )./[volume_name] -rls access_file- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
If no backup files are found, the message 'no revision file.' will be displayed. A revision file query screen will be shown as follows:Note
You should specify the relative path. For example, if the ‘/root/mount_point’ directory is mounted, to check for backup files or folders stored in the ‘/root/mount_point/test’ folder, specify the access_path as ‘/test’.
Restore backup files
- Navigate to the location where the ‘./[volume_name]’ executable file is stored. (e.g., /namusoft/megaclient).
cd /namusoft/megaclient - Execute the following command to restore a revision file:
‘revision_file_name’ : The path and name of the revision file (e.g., /test1/temp3/200.txt.20240429141912660)./[volume_name] -rrs revision_file_name- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
Screenshot of restored revision file:Note
You should specify the relative path. For example, if the ‘/root/mount_point’ directory is mounted, to restore a file from the ‘/root/mount_point/test’ folder, specify the revision file path as ‘/test’.
Delete backup files
- Navigate to the location where the ‘./[volume_name]’ executable file is stored. (e.g., /namusoft/megaclient).
cd /namusoft/megaclient - Execute the following command to delete a revision file:
‘revision_file_name’ : The path and name of the revision file (e.g., /test1/temp3/200.txt.20240429141912660)./[volume_name] -rrm revision_file_name- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
Screenshot of deleted revision file:Note
You should specify the relative path. For example, if the ‘/root/mount_point’ directory is mounted, to delete a file from the ‘/root/mount_point/test’ folder, specify the revision file path as ‘/test’.
Important
If revision files accumulate, it could affect server disk space. Therefore, revision files older than 30 days will be automatically deleted.
Comments
Article is closed for comments.