Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup automatic backup of virtual image #2

Open
gobbedy opened this issue May 11, 2018 · 6 comments
Open

setup automatic backup of virtual image #2

gobbedy opened this issue May 11, 2018 · 6 comments
Labels

Comments

@gobbedy
Copy link
Owner

gobbedy commented May 11, 2018

  1. get rdiff working
    continue testing -- randomly modify .sav file -- dump that as newfile -- then test that rdiff properly recovers -- use dd for recovery? https://stackoverflow.com/questions/24130538/testing-intentionally-corrupt-a-z-file-using-dd

  2. globus catch errors in login (maybe just e-mail me via mutt), globusconnect connection (e-mail me), expand script to back up + script sent by the support guy

@gobbedy
Copy link
Owner Author

gobbedy commented May 12, 2018

  1. run easeus to local backup on a daily schedule -- DONE
    --> setup linux to shut down at that time -- DONE
  2. run globus sync in linux (on bootup?)

@gobbedy
Copy link
Owner Author

gobbedy commented May 13, 2018

  1. get rid of shutdown cron
  2. test windows cron ("schedules task") -- make sure to sync easeus and windows scheduler times
  3. run globus sync in linux (on bootup?)

@gobbedy
Copy link
Owner Author

gobbedy commented May 14, 2018

  1. get rid of shutdown cron-- DONE
  2. get rid of easeus -- uninstall -- DONE
  3. install vmware + linux mint 18.3 w/ shared folder access -- DONE
  4. use 7z for compression
  5. use rdiff for differential backup
  6. use globus (sync?) for transfer

@gobbedy
Copy link
Owner Author

gobbedy commented May 15, 2018

  1. test script on both sides (linux, windows) -- with cron included -- DONE
  2. backup linux mint 18 (one time)

@gobbedy
Copy link
Owner Author

gobbedy commented May 15, 2018

  1. backup linux mint 18 (one time) -- DONE (would be trivial to make automatic; only windows-side script to tweak)
  2. Test that it works at 8.15pm as expected
  3. After a week or so, test recovery

@gobbedy gobbedy added the P1 label May 16, 2018
@gobbedy
Copy link
Owner Author

gobbedy commented May 24, 2018

Gave up on fully automatic backup -- too time consuming. Semi-automatic instead

Flow for backing up linux mint 17 (vmbox guest) is:

  1. Shut down vmbox guest
  2. Launch vmware guest
  3. Launch backup and globus submit script (takes an hour)
  4. (When 3 finished) Shut down vmware guest
  5. Launch vmbox guest
  6. Launch mout_compute_canada.sh script

Switch vmbox and vmware in steps above if backing up linux mint 18 (vmware guest)

@gobbedy gobbedy closed this as completed May 24, 2018
@gobbedy gobbedy reopened this Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant