question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Aim repo cloud-storage backups

See original GitHub issue

🚀 Feature

There is no out-of-box support for .aim repository backups. Users have to manually create an archive from repo directory and upload to cloud storage buckets.

Motivation

A single-command backup of aim repos. Pre-defined clear naming/versioning across all repos.

Pitch

Add a CLI commands to backup and restore .aim repo in/from cloud storage. Support S3 and GCS. Backup command must create a snapshot of .aim directory for the given repo path. No need to fallback to the upper directories (search for .aim) as it’s done for other CLI commands.

Alternatives

The process of creating a snapshot and uploading it for backups can be done by simple bash script. However, providing it as out-of-box command as part of Aim CLI is better UX.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
karan2801commented, May 22, 2022

I have created a PR for review. Kindly review the PR, and let me know your thoughts on the same. @gorarakelyan @alberttorosyan @SGevorg

1reaction
karan2801commented, May 7, 2022

I had a few questions/suggestions here:

  1. There would be a few parameters that would be taken as input in the cli command such as bucket name(required), region (optional, default region would be picked up from the aws credentials and path (optional, by default it would be the current path). In case the bucket name does not exist in s3, the bucket will be created with the given bucket name and then the backup would be created. Please correct me if I am missing something
  2. In order to create a unique folder in the s3 bucket, we can create a name using the current date and timestamp. Please suggest if something else needs to be done.
  3. Should we create a zip file of the repo and then upload it or should we upload each file in the repo?

@SGevorg @alberttorosyan @gorarakelyan

Read more comments on GitHub >

github_iconTop Results From Across the Web

Aim CLI — Aim 3.15.2 documentation - Read the Docs
Tool-set for converting 3rd party data into Aim readable format. storage. Maintain/update Aim repository internal data formats. init ...
Read more >
Backup and Disaster Recovery Solutions with Google Cloud
Discover backup and disaster recovery offerings in Google Cloud that can meet RPO ... Ensure RPO and RTO objectives are met for backup...
Read more >
Storing repository backups in the Azure Files cloud storage
Storing repository backups in the Azure Files cloud storage · Step 1: Create a new general-purpose storage account · Step 2: Create a...
Read more >
Veeam Cloud Connect Backup: Storage Management
Under the Dashboard view in the 11:11 Cloud Console, you can click the “Add Storage” button and use this to generate a task...
Read more >
The Difference Between Cloud Storage & Cloud Backup
Cloud backup providers are also concerned with keeping your data secure. Backed-up files are usually encrypted both while being transferred and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found