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 directory where the ‘./fbmegas’ executable file is stored. (e.g., /namusoft/megaclient) Then, execute the following command:
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., / )./fbmega –rls access_path
- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
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 )./fbmega –rls access_file
- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
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 directory where the ‘./fbmegas’ executable file is stored. (e.g., /namusoft/megaclient) Then, execute the following command:
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)./fbmega –rrs revision_file_name
- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
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 directory where the ‘./fbmegas’ executable file is stored. (e.g., /namusoft/megaclient) Then, execute the following command:
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)./fbmega –rrm revision_file_name
- Input rules: No restrictions on characters, numbers, or special characters
- Input length: 1 ~ 128 characters
- Default value: None
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.