Diagram Desk

File backup flowchart

A nightly job: back up files, verify the copy, delete backups older than 30 days. For documenting scheduled jobs.

The diagram

StartRead the backup listCopy to backup storageChecksums match?Alert the operatorEndDelete backups olderthan 30 daysWrite backup lognoyes
Flowchart · 8 shapes

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

ShapeSymbolConnections
StartTerminator→ Read the backup list
Read the backup listProcess→ Copy to backup storage · ← Start
Copy to backup storageStored 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 operatorProcess→ End · ← Checksums match?
EndTerminator← Alert the operator, Write backup log
Delete backups older than 30 daysPredefined process→ Write backup log · ← Checksums match?
Write backup logDocument→ End · ← Delete backups older than 30 days

Symbols used here

SymbolMeaning
TerminatorWhere the flow starts or ends; a rounded rectangle.
ProcessOne action such as a calculation; a rectangle.
DecisionA question whose answer picks the next path; a diamond.
Stored dataReads or writes a database or file; a cylinder.
DocumentA printed document or report; a box with a wavy bottom.
Predefined processA subprocess defined elsewhere; a box with side bars.
Flow lineThe order of steps, in the arrow direction.

All flowchart symbols and how to draw

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

More flowchart examples

All SeewolLabs tools