⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 upgrade

📁 一套客户/服务器模式的备份系统代码,跨平台,支持linux,AIX, IRIX, FreeBSD, Digital Unix (OSF1), Solaris and HP-UX.
💻
字号:
General Information-------------------To upgrade from a previous release simply follow theinstallation instructions. Your configuration files willnot be touched. New options have the older behaviour asdefault, if not set explicitly. I try to keep backwardcompatibility forever.To Version 2.5 or higher------------------------Upgrading to 2.5 or higher requires to first upgrade theserver. It can handle requests from older clients, butnewer clients fail on an older server.To version 3.0 or higher------------------------The name of the service name changed from to afbackupfrom backup (important for the entry in /etc/services).Keep this in mind, when you are going to modify theinetd's configuration.Check your configuration for commands, that consist ofseveral subcommands separated by semicolons. It was noproblem in earlier versions, but is now crucial to makesure, that these commands exit with a bad status (!= 0),if one of the subcommands fails. Thus the subcommandsshould be separated by && instead of the semicolon. Thisdoes not always make sense. In some cases a good exitstatus (0) must be enforced. In these cases you shouldwrite:  <commands-that-might-fail>; exit 0In some cases the server fails to run in buffering mode.Why this happens, is currently unknown, but work is doneinvestigating this problem. In such a case error messagesshow up for no obvious reasons. As a temporary solutionuntil the problem is fixed the server can be started withthe option -b. Add -b in the file /etc/inetd.conf afterthe word afserver, so the whole line looks somewhat likethis:afbackup stream tcp nowait backup /usr/backup/server/bin/afserver afserver -b /usr/backup/server/lib/backup.confIf you have the xinetd running instead of inetd, modifythe section in /etc/xinetd.conf to be like this:service afbackup{        flags           = REUSE NAMEINARGS        socket_type     = stream        protocol        = tcp        wait            = no        user            = backup        server          = /usr/backup/server/bin/afserver        server_args     = /usr/backup/server/bin/afserver -b /usr/backup/server/lib/backup.conf}Having successfully modified /etc/(x)inetd.conf, send ahangup signal to the (x)inetd to activate the change. Findout the PID typing   ps -uxa|grep inetd   and enter:kill -HUP <PID>with <PID> replaced by the real process id. The -b optionturns off buffering, so performance is worse, but untilthe problem is fixed, there's no way around this, sorry.If you make the backup into a filesystem instead of atape, check for the recommended settings of new parametersin the HOWTO. The default might not be appropriate forthis configuration.You might want to use DES encryption instead of the oldshuffeling algorithm. 128 Bit DES encryption can be usednow, what is currently and i think for the next 100 yearsnot crackable. Note, that whether using DES or not is acompile time option and no runtime setting. Thus clientsand server must be compiled in the same manner. To getthe appropriate DES library, go to the ftp-directory,where you got this package from. The current version bythe time of writing this is 4.04b.To version 3.1 or higher------------------------If using several backup servers for one client, the serverand port used for this client up to now should be the firstone supplied in the client side configuration. I.e. thenew entries should be appended to the existing ones for thebackup server hostname, port number and cartridge set number(see: HOWTO Q9).The program name in column 7 of the /etc/inetd.conf entrymust be the full path to the program. It is no longer sufficientto just give the basename of the program. The Install scriptconsiders this, but if you upgrade manually, /etc/inetd.conf hasto be edited. The same applies for the first word in theserver_args parameter of the xinetd, if this daemon is usedinstead of inetd.To version 3.2 or higher from versions < 3.2--------------------------------------------When going to use the multi-stream server, the existingsingle-stream configuration should be kept and the newserver should get a new service (TCP port) assigned. Thisway existing backups don't become useless and restoringwill transparently use the old server. It is not possibleto get the data of backups written with the single-streamserver through the multi-stream server, but provided tohave the single-stream server working as configured beforethis is not necessary.Cause the emergency recovery mechanism changed heavily,a migration must be performed on the clients. The scriptmigrate_to_3.2 in the distribution directory has beenwritten to help migrating. Started as root, it will asksome stupid questions and then convert the old minimumrestore info to the new format. The minimum restore infowill also be written to the configured backup media doinga small backup of the file with it. So emergency recoveryis possible also without the minimum restore info, butbetter don't rely on it. Keep the minimum restore infosomewhere. It is no longer cumulative i.e. you need onlythe latest one to restore everything.The old style minimum restore information is required toperform this step. See the configuration parameterStartupInfoProgram on your clientside configuration,where it is saved.To version 3.2.2 or higher from versions < 3.2.2------------------------------------------------Built-in compression is available as new feature inversion 3.2.2 . When choosing to use built-in compressionsee Q 17 of the HOWTO AND Q27 (!!!) of the FAQ how tobuild and configure it.Note, that nothing changed on the server side, so anupdate of the server will not have any effect.To version 3.2.2 or higher from versions < 3.2.3------------------------------------------------The server side configuration file entry to specify thecartridge sets has been reworked. It is no longer calledLastCartridges: followed by the the numbers of the lastcartridges in the sets. Now it reads as CartridgeSets:followed by a list of cartridge set specifiers separatedby whitespace. See CONFIG or the manual pages for validformats.The server program understands both versions, but ifboth are present, the old style entry is ignored. Alsothe configuration programs convert the configuration fileentry to the new format silently. The recommended way toswitch to the new style entry is nonetheless to run thescript migrate_to_3.2.3 . It asks for the full path tothe configuration file, makes a safety copy of it andconverts it to the new format. The differences betweenold and new file are printed, so you can see, what haschanged and if the automatic conversion fails, have achance to adapt the file manually.To version 3.3 or higher from versions < 3.3--------------------------------------------Changes in the encryption routines were necessary due toa bug in all libdes versions. Thus the newly built programsare unable to authenticate successfully with existinginstallations. Furthermore if the __descrpt program was usedto encrypt files, they cannot be decrypted with this programany longer. Nonetheless it is possible to build the packageusing the buggy function, so backward compatibility forexisting installations is provided. If you are using theInstall script, answer the question for backward compatibilityappropriately. If you prefer to install step by step, don'tmiss the section about this in the INSTALL file.To version 3.3.4 or higher from versions < 3.3.4------------------------------------------------If it is desired to downgrade to earlier versions because ofproblems with this one, the serverside 磘apepos

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -