amanda备份软件 怎么配置D2D2T

时间: 2024-04-26 16:22:57 浏览: 13
对于 Amanda 备份软件来说,D2D2T 是一种备份策略,它的含义是:Disk to Disk to Tape,即先将数据备份到磁盘,再将磁盘上的数据备份到磁带上。下面是配置 D2D2T 的步骤: 1. 配置磁盘备份 首先需要在 Amanda 中配置磁盘备份,包括磁盘存储设备和备份计划等。具体的配置方法可以参考 Amanda 的官方文档。 2. 配置磁带备份 在磁盘备份完成后,需要将备份数据保存到磁带上。这一步需要先配置磁带库和磁带,然后再将磁盘备份数据备份到磁带上。同样,具体的配置方法可以参考 Amanda 的官方文档。 3. 配置备份策略 最后,需要在 Amanda 中配置备份策略,使得备份数据可以按照 D2D2T 的方式进行备份。具体的配置方法可以参考 Amanda 的官方文档。 需要注意的是,D2D2T 备份策略需要考虑磁盘和磁带的容量,以及备份时间等因素,以保证备份的有效性和可靠性。
相关问题

帮我写一个amanda.conf用于配置D2D2T的示例

好的,以下是一个用于配置 D2D2T 备份策略的 amanda.conf 示例: ``` # 全局配置 org "My Backup Organization" mailto "backup-admin@example.com" dumpcycle 7 runspercycle 5 tapecycle 24 tpchanger "chg-disk" # 定义磁盘备份 define dumptype global { comment "Global Dumptype" compress none strategy standard priority medium holdingdisk yes } define dumptype disk { comment "Disk Backup" program "GNUTAR" compress client fast strategy standard priority medium holdingdisk yes } # 定义磁带备份 define tapetype d2d2t { comment "Disk to Disk to Tape" length 2000 mbytes filemark 2 } # 定义备份集合和备份计划 define tapetype example-tape { comment "Example Tape" length 800 mbytes filemark 2 } define changer chg-disk { comment "Disk Changer" tapedev "null:" } define holdingdisk hd1 { comment "Holding Disk 1" directory "/backup/hd1" use -1000 mbytes chunksize 1 mbytes } define tapelibrary example-library { comment "Example Tape Library" tapedev "file:/backup/tapes" tpchanger "chg-disk" } define tapetype d2d2t { comment "Disk to Disk to Tape" } define tapetype example-tape { comment "Example Tape" length 800 mbytes filemark 2 } define dumptype d2dt { comment "Disk to Disk Backup" program "GNUTAR" compress client fast strategy standard priority medium holdingdisk yes } define tapetype d2d2t { comment "Disk to Disk to Tape" } define tapetype example-tape { comment "Example Tape" length 800 mbytes filemark 2 } define dumptype d2d2t { comment "Disk to Disk to Tape Backup" program "GNUTAR" compress client fast strategy standard priority medium holdingdisk yes tapecycle 3 tapes tapetype d2d2t taperscan 1d tapetype example-tape } # 配置备份策略 define tapetype d2d2t { comment "Disk to Disk to Tape" } define tapetype example-tape { comment "Example Tape" length 800 mbytes filemark 2 } define dumptype d2d2t { comment "Disk to Disk to Tape Backup" program "GNUTAR" compress client fast strategy standard priority medium holdingdisk yes tapecycle 3 tapes tapetype d2d2t taperscan 1d tapetype example-tape } define tapetype d2d { comment "Disk to Disk Backup" } define dumptype d2d { comment "Disk to Disk Backup" program "GNUTAR" compress client fast strategy standard priority medium holdingdisk yes } # 指定备份主机和备份集合 define amhost my-server { comment "My Backup Host" } define dumptype { global disk } define tapetype { d2d2t example-tape } define tapetype example-tape { comment "Example Tape" length 800 mbytes filemark 2 } define changer chg-disk { comment "Disk Changer" } define device hd1 { comment "Holding Disk 1" path "/backup/hd1" labelstr "hd1-" } define device null { comment "Null Device" path "/dev/null" } define tapetype d2d2t { comment "Disk to Disk to Tape" } define tapetype example-tape { comment "Example Tape" length 800 mbytes filemark 2 } # 定义备份计划 define schedule { MyBackupSchedule "My Backup Schedule" { period 1d period 1w period 1m period 1y tapecycle 3 tapes tapetype d2d2t taperscan 1d tapetype example-tape } } # 指定备份策略和备份计划 define host { my-server infofile "/var/lib/amanda/my-server/amanda-client.info" amrecover "prevent" auth "bsdtcp" dumptype d2d2t { global disk } tapetype example-tape holdingdisk hd1 tapelibrary example-library changer chg-disk device hd1 { comment "Holding Disk 1" } } # 指定备份计划和备份主机 define schedule MyBackupSchedule { my-server } ``` 这个 amanda.conf 示例中,配置了磁盘备份、磁带备份、备份计划和备份策略,以实现 D2D2T 的备份策略。其中,备份数据先备份到磁盘上,然后再备份到磁带上,磁带的备份周期是 3 天,备份计划是每天、每周、每月和每年备份一次。需要根据实际情况修改配置,以适应不同的备份需求。

自动备份数据库有哪些软件

有很多软件可以用于自动备份数据库,以下是其中一些比较常用的: 1. MySQL Enterprise Backup:适用于 MySQL 数据库。 2. SQL Server Management Studio:适用于 Microsoft SQL Server 数据库。 3. Oracle Recovery Manager (RMAN):适用于 Oracle 数据库。 4. pg_dump:适用于 PostgreSQL 数据库。 5. MongoDB Backup:适用于 MongoDB 数据库。 6. Percona XtraBackup:适用于 MySQL 和 MariaDB 数据库。 7. Bacula:支持多种数据库类型,包括 MySQL、PostgreSQL、Oracle 等。 8. Amanda:也支持多种数据库类型。 9. Veeam Backup & Replication:适用于 VMware vSphere 和 Microsoft Hyper-V 数据库。 10. Rubrik:支持多种数据库类型,包括 Oracle、SQL Server、MySQL、PostgreSQL 等。

相关推荐

最新推荐

recommend-type

pre_o_1csdn63m9a1bs0e1rr51niuu33e.a

pre_o_1csdn63m9a1bs0e1rr51niuu33e.a
recommend-type

matlab建立计算力学课程的笔记和文件.zip

matlab建立计算力学课程的笔记和文件.zip
recommend-type

FT-Prog-v3.12.38.643-FTD USB 工作模式设定及eprom读写

FT_Prog_v3.12.38.643--FTD USB 工作模式设定及eprom读写
recommend-type

matlab基于RRT和人工势场法混合算法的路径规划.zip

matlab基于RRT和人工势场法混合算法的路径规划.zip
recommend-type

matlab基于matlab的两步定位软件定义接收机的开源GNSS直接位置估计插件模块.zip

matlab基于matlab的两步定位软件定义接收机的开源GNSS直接位置估计插件模块.zip
recommend-type

zigbee-cluster-library-specification

最新的zigbee-cluster-library-specification说明文档。
recommend-type

管理建模和仿真的文件

管理Boualem Benatallah引用此版本:布阿利姆·贝纳塔拉。管理建模和仿真。约瑟夫-傅立叶大学-格勒诺布尔第一大学,1996年。法语。NNT:电话:00345357HAL ID:电话:00345357https://theses.hal.science/tel-003453572008年12月9日提交HAL是一个多学科的开放存取档案馆,用于存放和传播科学研究论文,无论它们是否被公开。论文可以来自法国或国外的教学和研究机构,也可以来自公共或私人研究中心。L’archive ouverte pluridisciplinaire
recommend-type

实现实时数据湖架构:Kafka与Hive集成

![实现实时数据湖架构:Kafka与Hive集成](https://img-blog.csdnimg.cn/img_convert/10eb2e6972b3b6086286fc64c0b3ee41.jpeg) # 1. 实时数据湖架构概述** 实时数据湖是一种现代数据管理架构,它允许企业以低延迟的方式收集、存储和处理大量数据。与传统数据仓库不同,实时数据湖不依赖于预先定义的模式,而是采用灵活的架构,可以处理各种数据类型和格式。这种架构为企业提供了以下优势: - **实时洞察:**实时数据湖允许企业访问最新的数据,从而做出更明智的决策。 - **数据民主化:**实时数据湖使各种利益相关者都可
recommend-type

2. 通过python绘制y=e-xsin(2πx)图像

可以使用matplotlib库来绘制这个函数的图像。以下是一段示例代码: ```python import numpy as np import matplotlib.pyplot as plt def func(x): return np.exp(-x) * np.sin(2 * np.pi * x) x = np.linspace(0, 5, 500) y = func(x) plt.plot(x, y) plt.xlabel('x') plt.ylabel('y') plt.title('y = e^{-x} sin(2πx)') plt.show() ``` 运行这段
recommend-type

JSBSim Reference Manual

JSBSim参考手册,其中包含JSBSim简介,JSBSim配置文件xml的编写语法,编程手册以及一些应用实例等。其中有部分内容还没有写完,估计有生之年很难看到完整版了,但是内容还是很有参考价值的。