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.

dat backup - save current version to local history storage

See original GitHub issue

Add dat keep command and/or --keep option to store the history in a local clone, started in this branch.

The goal would be to have a local copy of history that:

  1. Works offline
  2. Can act as a permanent or temporary backup of history
  3. Store separately from dat files

Usage:

  • dat share - imports files
  • dat keep - saves current archive version and files to ~/.dat/history/<discKey> as sleep files (i.e. with content.data).

Or

  • dat sync --keep - live import + keep all history

Feel like it’d be good to have a way to:

  1. list what archive versions we have locally
  2. clear local cache of all/specific versions
  3. clear local cache compared to a remote copy (e.g. clear everything locally that your server has backed up)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

3reactions
bnewboldcommented, Nov 26, 2017

I’d still love to see this! Or at least flags to dat init (CLI) which ensures all future added/synced data is saved, and a flag to dat clone that both pulls full history and “checks out” the latest versions to the current folder. I know hypercored has some of this functionality, but I think it’s basic enough that it should be possible with dat itself.

0reactions
joehandcommented, May 18, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Back Up Your Data and Keep Your Files Safe
As noted, you can back up only data files or your entire system. This is assuming the backup application you're using -- whether...
Read more >
Restore a Database Backup Using SSMS - SQL Server
This article explains how to restore a full SQL Server database backup using SQL Server Management Studio.
Read more >
Manage & restore your mobile backups in Google Drive
Find and manage backups · Go to drive.google.com. · On the bottom left under "Storage," click the number. · On the top right,...
Read more >
Datto File Protection | Protect Data and Recover Files
Backup locations are continuously scanned for changes with backups functioning over any Internet connection. All files retain version history for up to 180...
Read more >
Project Auto-save & Local History in Altium Designer
Timed auto save backups – automatically save multiple versions of all open files at the specified time interval. · Local History – take...
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