/[BackupPC]/trunk/sql/xx_backups_without_backup_parts.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/xx_backups_without_backup_parts.sql

Parent Directory Parent Directory | Revision Log Revision Log


Revision 366 - (show annotations)
Thu Jan 25 09:25:23 2007 UTC (17 years, 3 months ago) by dpavlin
File size: 261 byte(s)
display archives and archvies without backup parts

1 select
2 hosts.name,
3 shares.name,
4 backups.num,
5 date::abstime
6 from backups
7 join hosts on hosts.id = hostid
8 join shares on shares.id = shareid
9 where backups.id not in (select backup_id from backup_parts) and inc_size != -1
10 order by hosts.name, shares.name ;
11

  ViewVC Help
Powered by ViewVC 1.1.26