I'm not sure how we can log decoded mime subject, you could use tools like online MIME headers decoder :
https://dogmamix.com/MimeHeadersDecoder/
Or you can create a script :
#!/usr/bin/env perl
use open qw(:std :utf8);
use Encode qw(decode);
while (my $line = <STDIN>) {
print...
You could add into the postfix log the subject using this technique.
Open and edit postfix configuration file
vi /etc/postfix/main.cf
Add the following :
header_checks = regexp:/etc/postfix/header_checks
Open the file /etc/postfix/header_checks
vi /etc/postfix/header_checks
Add the...
Thanks everyone... I've been doing a few tests using vzdump hook script instead of snapshotting manually...
Here is the script I'm using and it seems to be working correctly for now, any suggestion?
#!/bin/sh
export BORG_REPO=
export BORG_PASSPHRASE=
NOW=$(date +"%Y-%m-%d@%T")...
qm snapshot is calling a fs-freeze through qemu-guest-agent and the snapshot generated is read-only.
I known that the method could only be done with the storage type qcow2 and LVM-thin.
With qcow2, the snapshot is an internal snapshot, that why I need to specify to only extract the snapshot...
I'm not sure why LVM and qcow2 snapshot should not be considered? Isn't what the vzdump doing after all? In the source of vzdump it's creating a snapshot with qm snapshot before creating the vma file.
As a reference :
The VZDump source /usr/share/perl5/PVE/VZDump.pm create the snapshot using...
If I do this, It takes twice the time and amount of space for my backups (temporary)... that's why I'm wondering if using snapshot like this would be a good strategy.
Hi,
I'm looking to create a script that will create a backup of my current VM and stored them in a deduplication system. (I'm using BorgBackup with a remote repo for storing)
I've tried to use vzdump which create a .vma file that doesn't seem to work well with deduplication. To by-pass that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.