# [loiter] SUCCEEDED: Backup Postgres, all databases

Succeeded overall?: Yes
Timestamp: Sat, 8 Nov 2025 23:24:30 GMT

## Best-effort setups:

This task includes no best-effort-setup steps.

## Sequential steps:

1. Ensure availability of rclone, if necessary
Action: rclone --version
Succeeded? Yes
Exit Code: 0
out:

    rclone v1.68.0
    - os/version: ubuntu 22.04 (64 bit)
    - os/kernel: 5.15.0-144-generic (x86_64)
    - os/type: linux
    - os/arch: amd64
    - go/version: go1.23.1
    - go/linking: static
    - go/tags: none

err: N/A
notes:

    destpath: onedrive:cloud-backups/postgres

carryforward:

    Pad(tmpDir = None, backupFile = None)

2. Create Temp Dir
Action: os.temp.dir()
Succeeded? Yes
out: N/A
err: N/A
carryforward:

    Pad(tmpDir = Some(/tmp/9854764446000826374), backupFile = None)

3. Perform Postgres Backup
Action: postgres-dump-all-to-file <temporary-backup-file>
Succeeded? Yes
Exit Code: 0
out: N/A
err: N/A
notes:

    Backup size: 4.187 MiB

carryforward:

    Pad(
      tmpDir = Some(/tmp/9854764446000826374),
      backupFile = Some(/tmp/9854764446000826374/loiter.interfluidity.com-pgdumpall-2025-11-08)
    )

4. Copy backup to storage
Action: 'rclone mkdir' then 'rclone copy' or else 'mkdir' then 'cp'
Succeeded? Yes
Exit Code: 0
out: N/A
err: N/A
carryforward:

    Pad(
      tmpDir = Some(/tmp/9854764446000826374),
      backupFile = Some(/tmp/9854764446000826374/loiter.interfluidity.com-pgdumpall-2025-11-08)
    )

## Best-effort followups:

Remove temporary local backup.
Action: os.remove( <backup-file> )
Succeeded? Yes
out: N/A
err: N/A
carryforward:

    Pad(
      tmpDir = Some(/tmp/9854764446000826374),
      backupFile = Some(/tmp/9854764446000826374/loiter.interfluidity.com-pgdumpall-2025-11-08)
    )