82 |
and files.backupnum = backups.num |
and files.backupnum = backups.num |
83 |
and shares.id = backups.shareid |
and shares.id = backups.shareid |
84 |
order by backups.date |
order by backups.date |
85 |
|
limit 1000 |
86 |
}; |
}; |
87 |
|
|
88 |
_debug("prepare"); |
_debug("prepare"); |
97 |
|
|
98 |
while (my $row = $sth->fetchrow_hashref() ) { |
while (my $row = $sth->fetchrow_hashref() ) { |
99 |
|
|
100 |
my $xml = XMLout( $row ); |
my $xml = XMLout( $row, NoAttr => 1, RootName => 'file' ); |
101 |
if ($xml) { |
if ($xml) { |
102 |
# Set the XmlDocument to the relevant string and then put it |
# Set the XmlDocument to the relevant string and then put it |
103 |
# into the container. |
# into the container. |
127 |
|
|
128 |
# Commit the writes. This causes the container write operations |
# Commit the writes. This causes the container write operations |
129 |
# to be saved to the container. |
# to be saved to the container. |
130 |
_debug("commit"); |
_debug("final commit"); |
131 |
$txn->commit(); |
$txn->commit(); |
132 |
|
|