/[BackupPC]/trunk/sql/dump_increments_filenames_from_dvd.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/sql/dump_increments_filenames_from_dvd.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 300 - (show annotations)
Thu Jan 26 23:10:05 2006 UTC (18 years, 3 months ago) by dpavlin
File size: 456 byte(s)
generate increment filenames for DVD
1 -- display all files (increments) on one DVD
2 select
3 hosts.name || '_' ||
4 shares.name || '_' ||
5 backups.num as increment_name,
6 backups.date::abstime,
7 backups.type,
8 backups.size,
9 backups.parts,
10 backups.inc_size,
11 backups.inc_deleted
12 from archive_backup
13 join archive on archive_id = archive.id
14 join backups on backup_id = backups.id
15 join shares on shareid = shares.id
16 join hosts on backups.hostid = hosts.id
17 where dvd_nr = 14
18 order by inc_size desc
19 ;

  ViewVC Help
Powered by ViewVC 1.1.26