Unable to edit backup job

Post Reply
Trelor
New here
Posts: 6
Joined: Fri Apr 17, 2015 10:22 pm

Unable to edit backup job

Post by Trelor »

There is an error in /share/CACHEDEV1_DATA/.qpkg/Glacier/ui/cloudconnector.cgi that if you go to edit a backup and you have excluded extensions checked you will not be abl to edit the backup due to an error in the JSON file that is sent back. The error is on: "encrypt_password":"REMOVED FOR SECURITY REASONS@le_type_filter_others": [ ".db", ".dll" ],

Code: Select all

{

    "message":"",
    "error_code":0,
    "result":{
        "is_acl_xattr":false,
        "maximum_skipped_files":10,
        "is_compress":false,
        "limit_file_size_max":"",
        "source_folder_list":[
            "/REMOVED FOR SECURITY REASONS"
        ],
        "job_type":"backup",
        "encrypt_algorithm":"aes-256-cbc",
        "is_related_running":false,
        "timeout_in_second":60,
        "compression_file_size":"4kb",
        "maximum_rate":0,
        "id":"1",
        "compression_ratio":9,
        "limit_file_type_filter":[
            "others",
            "temporary"
        ],
        "is_ignore_symbolic_links":false,
        "display_name":"REMOVED FOR SECURITY REASONS",
        "encrypt_password":"REMOVED FOR SECURITY REASONS@le_type_filter_others": [ ".db", ".dll" ], "is_running": false, "concurrent_connections": 5, "is_backup_only_updated_files": true, "limit_file_date_from": "", "is_delete_extra_files": false, "retry_interval_in_second": 180
    }

}
SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 26 column
Trelor
New here
Posts: 6
Joined: Fri Apr 17, 2015 10:22 pm

Re: Unable to edit backup job

Post by Trelor »

Well I realized that I can manually edit the file that holds the backups to add the directories that I want to include in my backup at: [/etc/config/cloudconnector/Glacier] # vi cloudconnector.admin.conf
Post Reply

Return to “Amazon Glacier”