Open OrielResearchCure opened 5 years ago
Is the VM gone? What about its persistent disk? If you've saved the file to disk, even if you haven't pushed it to a git repo, it should still be there unless you've deleted the disk too.
the VM is available and the persistent disk is available. I used the ungit to check out files that another developer added. At some point I have decided to abort the check out (but probably didnt do it correctly). When the abort was completed, I wasn't able to see the files that I was working on for the last few days. Checking the datalab automatic backups that are available on the gs:// , I could find files that were updated less than a week ago. I am looking for a command that will allow me to copy / view the files that were changed in the last week on the persistent disk.
Thanks, eilalan
If you can already find the files on GCS, you can run !gsutil cp gs://myproject/datalab-backups/us-central1-b/... ~/mylocalpath
in a notebook code cell to get the archive on your VM.
Hello,
I am looking for code that I was writing for the last few days and didnt checked it in at any point(new notebook)
Based on the bellow explanation, I was looking at gs://myproject/datalab-backups/us-central1-b/... I couldnt find something from Novemeber, all backup names are from October (based on the file name), such as: daily-20181017162736
Please let me know if there is anything that I can do to retrieve the file.
Many thanks, eilalan
https://cloud.google.com/datalab/docs/how-to/working-with-notebooks#cloud_datalab_backup