Hi, I am running version 3.4.2
/usr/bin/spamassassin -V
SpamAssassin version 3.4.2
running on Perl version 5.22.1
spamd --version
SpamAssassin Server version 3.4.2
running on Perl 5.22.1
with SSL support (IO::Socket::SSL 2.024)
with zlib support (Compress::Zlib 2.068)
which spamd
/usr/sbin/spamd
==================================
SA was originally installed using apt-get (Ubuntu-16)
==================================
BACKUP
I would feel safer if I had a backup of the current spamassassin system.
is there a recommended method to backup all files to a tar?
I think I have identified these folders as worthy of backup:
# define an array of folders to backup
backup_dirs=( \
'/etc/spamassassin' \
'/usr/bin' \
'/usr/sbin' \
'/usr/share/perl5' \
'/usr/share/spamassassin' \
'/var/lib/spamassassin' \
)
and I can also backup the bayes database
sa-learn --backup > "${bayes_backup_filename}"
is there anything else you can recommend for backup
prior to installing the newest version?
Is there a way to check timestamps on files inside spamassassin folders to
guess if any were modified to be different than the files installed at
installation time?
(it has been a few years & I don't really remember if I did anything bad to
those files when I first started learning about SA.)
==================================
UPGRADE
To upgrade to the latest version, 3.4.5
do I just run:
apt-get install spamassassin
does it simply overwrite existing files?
i.e. I don't need to uninstall the old version first?
Will my local.cf file stay the same?
================================
Thank you in advance
================================
/usr/bin/spamassassin -V
SpamAssassin version 3.4.2
running on Perl version 5.22.1
spamd --version
SpamAssassin Server version 3.4.2
running on Perl 5.22.1
with SSL support (IO::Socket::SSL 2.024)
with zlib support (Compress::Zlib 2.068)
which spamd
/usr/sbin/spamd
==================================
SA was originally installed using apt-get (Ubuntu-16)
==================================
BACKUP
I would feel safer if I had a backup of the current spamassassin system.
is there a recommended method to backup all files to a tar?
I think I have identified these folders as worthy of backup:
# define an array of folders to backup
backup_dirs=( \
'/etc/spamassassin' \
'/usr/bin' \
'/usr/sbin' \
'/usr/share/perl5' \
'/usr/share/spamassassin' \
'/var/lib/spamassassin' \
)
and I can also backup the bayes database
sa-learn --backup > "${bayes_backup_filename}"
is there anything else you can recommend for backup
prior to installing the newest version?
Is there a way to check timestamps on files inside spamassassin folders to
guess if any were modified to be different than the files installed at
installation time?
(it has been a few years & I don't really remember if I did anything bad to
those files when I first started learning about SA.)
==================================
UPGRADE
To upgrade to the latest version, 3.4.5
do I just run:
apt-get install spamassassin
does it simply overwrite existing files?
i.e. I don't need to uninstall the old version first?
Will my local.cf file stay the same?
================================
Thank you in advance
================================