This Server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 34: | Line 34: | ||
== Backup strategy == | == Backup strategy == | ||
=== Postulates === | |||
:* More important than having a very fancy backup mechanism is to have some backup mechanism | |||
=== States and Status === | |||
<uml> | |||
state "No backup exists" as State0 <<Done>> | |||
State0 : Status: Done | |||
state "Strategy: Simple ZIP" as StrategyA { | |||
state "ZIP file with backup data exists" as StateA1 <<Progressing>> | |||
StateA1 : Status: Progressing | |||
state "Download link to ZIP file exists" as StateA2 <<New>> | |||
StateA2 : Status: Not started | |||
StateA1 --> StateA2 | |||
} | |||
state "Strategy: Better backup strategy using GIT" as StrategyB <<New>> { | |||
state "Step1 ?" as StateB1 <<New>> | |||
StateB1 : Status: Not started | |||
} | |||
[*] --> State0 | |||
State0 --> StrategyA | |||
State0 --> StrategyB | |||
StrategyA --> [*] | |||
StrategyB --> [*] | |||
skinparam state { | |||
BackgroundColor<<New>> White | |||
BackgroundColor<<Done>> LightGreen | |||
} | |||
</uml> | |||
=== Equipment === | |||
Using ssh: | Using ssh: | ||
# make a zip file name with date and time stamp in it e.g. bak_20160103-001014.zip | # make a zip file name with date and time stamp in it e.g. bak_20160103-001014.zip | ||
echo "bak_$(date +'%Y%m%d-%H%M%S').zip" | echo "bak_$(date +'%Y%m%d-%H%M%S').zip" | ||
Revision as of 03:51, 4 January 2016
Backup strategy
Postulates
- More important than having a very fancy backup mechanism is to have some backup mechanism
States and Status
Equipment
Using ssh:
# make a zip file name with date and time stamp in it e.g. bak_20160103-001014.zip echo "bak_$(date +'%Y%m%d-%H%M%S').zip"