|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
backup_routine.sh |
|
|
backup_routine.sh |
|
|
backup_filelist.txt |
|
|
backup_filelist.txt |
|
|
log.txt |
|
|
|
|
|
``` |
|
|
``` |
|
|
Create the files "backup_routine.sh" and "backup_filelist.txt" in this folder. |
|
|
Create the files "backup_routine.sh" and "backup_filelist.txt" in this folder. |
|
|
Copy the code from "backup_routine.sh" in this repository into yours. |
|
|
Copy the code from "backup_routine.sh" in this repository into yours. |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
git show commit-id:filename.ext > path/to/restoration/filename.restored.ext |
|
|
git show commit-id:filename.ext > path/to/restoration/filename.restored.ext |
|
|
``` |
|
|
``` |
|
|
For example: ```git show 8f1dc7362dd5f6781ccf9ccc5a9cfdccb57ed709:ToDo.xlsx >> ToDo.restored.xlsx``` |
|
|
|
|
|
|
|
|
For example: ```git show 8f1dc7362dd5f6781ccf9ccc5a9cfdccb57ed709:ToDo.xlsx > ToDo.restored.xlsx``` |