File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def encrypted_instance_backup(key_id, skip_s3=False):
3838 db_path = db_backup ()
3939
4040 # Create a tar.bz2 file that contains the contents of /data and `dp_path`.
41- click .secho ("Creating instance backup.." )
41+ click .secho ("Creating instance backup... " )
4242 storage_path = pathlib .Path (get_ckan_config_option ("ckan.storage_path" ))
4343 droot = pathlib .Path ("/backups/instance/" )
4444 droot .mkdir (parents = True , exist_ok = True )
@@ -59,7 +59,7 @@ def encrypted_instance_backup(key_id, skip_s3=False):
5959 click .secho ("Uploading to S3..." )
6060 bucket_prefix = get_ckan_config_option (
6161 "dcor_object_store.bucket_name" ).format (organization_id = "" )
62- bucket_name = bucket_prefix + "00000_backup "
62+ bucket_name = bucket_prefix + "00000-backup "
6363 s3 .require_bucket (bucket_name )
6464 s3 .upload_file (bucket_name = bucket_name ,
6565 object_name = f"{ now [:4 ]} /{ now [5 :7 ]} /{ eout .name } " ,
You can’t perform that action at this time.
0 commit comments