1. In sybase is it possible to delta the dumps. I can't find if
dbbackup is a copy of the .db file and .log in use or if it is a sql
dump. Using rsync on a file that large does not work. I would have to
use something that can pre-calculate the difference and then upload.
What recommendations do you have for offsite backups/copies. Our link
is a 10mb symetrical to our off-site server.
2. Our next step if we can't figure this out is to backup our server
at the block level live, but that might still create issues not only
in storage, but if the dbbackup dumps are too different, as it will
still require uploading a significant amount of data. Additionally,
storage costs will skyrocket for us, as we will be backing up more
data than needed.
DUMP ... WITH COMPRESSION=n ...
where N is an integer 1 ... 9 I believe. At level 4 (our default) we
tend to get the best ROI for time (lost) and space (gained) until the
database gets quite a bit bigger than yours currently is. On our
(Linux) platform at least, YMMV.
Once you've compressed it, you're right tar's -z or -Z flags won't
squeeze much more out of it since they likely use the same well-known
algorithms.
I don't understand why rsync is not working for you, and I'm not
entirely sure what you expect to get by "delta-ing" the backups, but
you may be able to use the "sum" command in Unix-like environments to
check if the file is identical to its previous iteration.
If you're allowed to use rsync, then the security built into scp will
definitely cost you performance-wise. Not only should rcp or rsync be
faster, but so will ftp.
Finally, for a warm-standby solution (not a replacement for backups,
but it may solve some of the issues you're trying to solve with them
currently) have you tried RepServer or ASE replicator?
Keith
From the original poster's explanation I can conclude that Sybase SQL
Anywhere (ASA) and not Sybase ASE is involved. If so, 28 GB of
transaction log for SQL Anywhere database sounds me a lot, you are
probably able to save a lot of space just by truncating it in an
appropriate way. In addition, did you consider incremental transaction
log backups supported by ASA? It may be a good option for you if you
don't perform minimally-logged operations, such as non-logged LOAD
TABLE statements. Replication via SQL Remote is another possible
option.
Hope it helps
Leonid Gvirtz
http://www.gvirtz-consulting.com