File backup flowchart
A nightly job: back up files, verify the copy, delete backups older than 30 days. For documenting scheduled jobs.
The diagram
Reading it step by step
- 1. Start at 'Start'.
- 2. 'Read the backup list' is a processing step. Next: 'Copy to backup storage'.
- 3. 'Copy to backup storage' reads or writes the data store. Next: 'Checksums match?'.
- 4. Decide 'Checksums match?': if 'no', go to 'Alert the operator'; if 'yes', go to 'Delete backups older than 30 days'.
- 5. 'Alert the operator' is a processing step. Next: 'End'.
- 6. End at 'End'.
- 7. 'Delete backups older than 30 days' runs a predefined subprocess. Next: 'Write backup log'.
- 8. 'Write backup log' produces a document. Next: 'End'.
Shape by shape
| Shape | Symbol | Connections |
|---|---|---|
| Start | Terminator | → Read the backup list |
| Read the backup list | Process | → Copy to backup storage · ← Start |
| Copy to backup storage | Stored data | → Checksums match? · ← Read the backup list |
| Checksums match? | Decision | → Alert the operator(no), Delete backups older than 30 days(yes) · ← Copy to backup storage |
| Alert the operator | Process | → End · ← Checksums match? |
| End | Terminator | ← Alert the operator, Write backup log |
| Delete backups older than 30 days | Predefined process | → Write backup log · ← Checksums match? |
| Write backup log | Document | → End · ← Delete backups older than 30 days |
Symbols used here
| Symbol | Meaning |
|---|---|
| Terminator | Where the flow starts or ends; a rounded rectangle. |
| Process | One action such as a calculation; a rectangle. |
| Decision | A question whose answer picks the next path; a diamond. |
| Stored data | Reads or writes a database or file; a cylinder. |
| Document | A printed document or report; a box with a wavy bottom. |
| Predefined process | A subprocess defined elsewhere; a box with side bars. |
| Flow line | The order of steps, in the arrow direction. |
Diagram text
Paste this text into the editor to get the same picture, then change the names to fit your own work.
# File backup flowchart
flowchart TD
s(["Start"])
a["Read the backup list"]
b[("Copy to backup storage")]
c{"Checksums match?"}
d["Alert the operator"]
z(["End"])
e[["Delete backups older than 30 days"]]
f>"Write backup log"]
s --> a
a --> b
b --> c
c -->|no| d
d --> z
c -->|yes| e
e --> f
f --> z