Quantcast
Channel: Microsoft Money forum
Viewing all articles
Browse latest Browse all 1791

show_backup.py: a small python script to show list of backup files

$
0
0

(Repost)

A python script to show list of backup files. Will also:

  • Show the oldest backup
  • Show the mots recent backup

Download from https://bitbucket.org/hleofxquotesteam/hleofxquotes/downloads/show_backup.py

You will need to have python instaleld (https://www.python.org/downloads/windows/)

I use Python 3 but also have test this script with Python 2

Usage:

python show_backup.py -d your_backup_directory

Recommendation, just put a copy of show_backup.py in your backup directory, then you can just run as

python show_backup.py -d .

 
...\backup>python show_backup.py -d .
Looking for backup file from dir=.
Total backup files: 53

  Oldest backup file: .\My Money 2019 Backup_2019-08-17_130614.mbf
      About 81 days, 6 hours, 47 minutes, 15 seconds ago.

  Most recent backup file: .\My Money 2019 Backup_2019-11-06_172341.mbf
      About 0 days, 1 hours, 29 minutes, 49 seconds ago.

# List of all backup files found:
  Backup file: .\My Money 2019 Backup_2019-08-17_130614.mbf
      About 81 days, 6 hours, 47 minutes, 15 seconds ago.
  Backup file: .\My Money 2019 Backup_2019-08-17_232320.mbf
      About 80 days, 20 hours, 30 minutes, 9 seconds ago.

...

 Backup file: .\My Money 2019 Backup_2019-11-04_213319.mbf
      About 1 days, 21 hours, 20 minutes, 9 seconds ago.
  Backup file: .\My Money 2019 Backup_2019-11-06_172341.mbf
      About 0 days, 1 hours, 29 minutes, 49 seconds ago.



Viewing all articles
Browse latest Browse all 1791

Trending Articles