Original Message:
Sent: Fri August 02, 2024 06:48 AM
From: Hrvoje Zokovic
Subject: Créer une sauvegarde ontape en multifichiers
If you are using pigz, and you have enough CPU power, you can use multithreaded option (compression should be faster)
HTH
Hrvoje
------------------------------
Hrvoje Zokovic
Original Message:
Sent: Fri August 02, 2024 05:42 AM
From: gerard kuczynski
Subject: Créer une sauvegarde ontape en multifichiers
hello,
i tried compression with gzip and obtained 8 times smaller file
. So i will set backup and restore parameters in onconfig on the customer site.
the previous dba has tried gzip but stoppedusing it. why? i dont find anything about that.
Il will also discuss with customer to be able to send directly the backup on the other server.
Thanks for all to every body.
Best regards
Gerard
------------------------------
gerard kuczynski
Original Message:
Sent: Thu August 01, 2024 05:25 AM
From: gerard kuczynski
Subject: Créer une sauvegarde ontape en multifichiers
Hello,
Thanks to everybody.
Informix version is 12.10.FC11WE on a linux suze 12.
The partition becoming full cannot be increased as linked to a physical device.
I will try a compression and let you know. The BACKUP_FILTER is included in ids 12. I will set it.
The backup file is stored on the same server (the organization is defined by customer and cannot be changed now, and your idea to send directly to n other server can be heard in some months by customer!!
Thanks for all,
Gerard
------------------------------
gerard kuczynski
Original Message:
Sent: Thu August 01, 2024 03:23 AM
From: Doug Lawry
Subject: Créer une sauvegarde ontape en multifichiers
I agree: compression is also a good idea. I believe that ontape to STDIO was in IDS 10 but BACKUP_FILTER wasn't until IDS 11. We really need to know the version!
------------------------------
Doug Lawry
Oninit Consulting
Original Message:
Sent: Thu August 01, 2024 03:09 AM
From: Marcus Haarmann
Subject: Créer une sauvegarde ontape en multifichiers
Bonjour,
ontape via STDOUT can be compressed with a pipe, maybe this would be an easy solution in your case,
just pipe through gzip or something, just remember you need to to this for a restore as well (gunzip in this case).
If your you are on recent version, (which I assume since ontape to STDOUT is not present in very old versions) backup_filter / restore_filter should be supported, so should be able to
use a compressing filter such as pigz/unpigz or gzip/gunzip, resulting in smaller backup files (using that approach, you cannot forget about it when restoring). (gzip is slower as pigz, which runs multi-core)
Otherwise, perform a backup to a remote machine (which does not have the file size limitations,
I suppose you are on a very old machine with a 2GB limit for the filesize or something)
either by a pipe redirecting to ssh or by not performing a STDOUT backup but using the hostname:path syntax in TAPEDEV and call ontape without redirect.
Use the TAPEDEV configuration parameter to specify the device or directory file system to which the ontape utility backs up storage spaces. help.hcl-software.com |
First case:
ontape -s -L 0 -t STDIO | gzip > toto.gz
Second case:
ontape -s -L 0 -t STDIO | ssh host "cat > /path/toto"
(you need to make sure machine can be accessed without password, if you are doing the backup
with a cron job, so a ssh setup with certificates is needed)
Third case:
TAPEDEV hostname:/path/toto
export DBREMOTECMD=ssh (requires working ssh access without password, by trusted certificates)
ontape -s -L 0
should result in a remote backup, maybe to a Linux box which does not have the file size limitations
you can add the filters as well as described above in order to result in a smaller file size
BACKUP_FILTER /usr/bin/pigz
RESTORE_FILTER /usr/bin/unpigz
Original Message:
Sent: 7/31/2024 1:01:00 PM
From: gerard kuczynski
Subject: Créer une sauvegarde ontape en multifichiers
Bonjour,
La sauvegarde actuelle par ontape -s -L 0 > toto -t STDIO me donne un fichier proche de la taille limite de la partition et donc un probleme en vue. Il ne m'est pas possible de modifier la taille de la partition sur ce serveur, seulement utiliser une autre partition en complément.
Je pensais modifier LTAPESIZE et le mettre à la valeur proche de la partition et aimerais obtenir un message pour préciser la 2eme partition. Je pourrais ainsi gérer les partitions par un script.
Apparemment, mes essais n'ont pas donné le résultat escompté.
Suis je sur la bonne piste pour les parametrages de ONTAPE ?
Bien cordialement
Gérard Kuczynski
------------------------------
Gerard Kuczynski
Développeur
------------------------------