postgres.*.*.bak.gz files

18 views
Skip to first unread message

Mo

unread,
Nov 21, 2019, 5:18:51 AM11/21/19
to Trac Users
Hi,

I found a lot of files like $ENV/db/postgres.*.*.bak.gz

Who creates these files and when. Are the files rotated?
I guess they are not rotated as I new and very old files down to 2015 when I started with Trac.

Having external backups I guess we don't need such database backups and I wasn't even aware of. I can't find anything about that in the docs, just found TracBackup which describes 'hotcopy' which is something else.

Best regards
- Mo

Ryan Ollos

unread,
Nov 21, 2019, 11:39:29 AM11/21/19
to Trac Users
Upgrade creates them:

$ trac-admin ../tracenvs/proj-1.3 help upgrade
upgrade [--no-backup]

    Upgrade database to current version

    The database is backed up to the directory specified by [trac] backup_dir
    (the default is 'db'), unless the --no-backup option is specified. The
    shorthand alias -b can also be used to specify --no-backup.

Mo

unread,
Nov 22, 2019, 3:53:35 AM11/22/19
to Trac Users
Thanks, solved.
Reply all
Reply to author
Forward
0 new messages