المقدمة
يوضح هذا المستند كيفية النسخ الاحتياطي لقاعدة البيانات (DB) من جهاز من السلسلة Cisco M-Series إلى آخر.
المتطلبات الأساسية
المتطلبات
توصي Cisco بأن تكون لديك معرفة بالمواضيع التالية:
- AsyncOS 7.2 والإصدارات الأحدث
المشكلة
بدء النسخ الاحتياطي ل DB إلى جهاز ثانوي من الفئة M.
الحل
فيما يلي المتطلبات قبل بدء النسخ الاحتياطي لقاعدة البيانات إلى جهاز ثانوي من الفئة M.
- يجب أن يكون كلا الجهازين من الفئة M على نفس إصدار AsyncOS (الإصدار 7.2 والإصدارات الأحدث فقط)
- يجب أن يحتوي الجهاز الهدف من الفئة M على مساحة كافية على القرص للنسخ الاحتياطي. انتقل إلى إدارة النظام > إدارة الأقراص (انظر الوثائق عبر الإنترنت حول كيفية تخصيص بعض الأقراص إذا تم تركها فوق).
إذا لم تكن لديك مساحة كافية على القرص أثناء الإعداد، فقد تحصل على رسالة مماثلة لهذه:
Verifying target machine for version compatibility and disk space...
Backup cannot be scheduled. Reason: There is not enough space for Centralized
Spam Quarantine, Centralized Email Tracking, Centralized Reporting. Please
increase disk allocation for these services on the target machine.
أو
Verifying target machine for version compatibility and disk space...
Backup cannot be scheduled. Reason: There is not enough space for Centralized
Web Tracking. Please increase disk allocation for these services on the target
machine.
تحقق من الحصة النسبية للقرص كما هو مذكور مسبقا على الجهاز الهدف.
جهازا إدارة الأمان (SMA)، و M650 (مصدر نظام DB باسم m650sma.run)، و M1050 الهدف (النسخ الاحتياطي الوجهة لنظام DB باسم m1050sma.run و IP 192.168.15.1).
سجل الدخول إلى CLI على المصدر M-Series (في إختبارنا sma1.example.com) وأدخل الأوامر التالية:
sma1.example.com> backupconfig
Choose the operation you want to perform:
- VIEW - View scheduled backups
- VERIFY - Verify if backup can be scheduled to a remote machine
- SCHEDULE - Schedule backup to an appliance
- CANCEL - Cancel a scheduled backup
- STATUS - Show the status of a backup in progress.
- SETUP - Configure backup parameters.
[]> setup
Enter level of verbosity:
[0]> 0 < this can be 0 or 3 0=lowest verbosity of backup logs and 3 is the highest>
Compression is desirable on slow connections, but will only slow down backup on
fast networks. Would you like to enable compression? [N]> <hit enter here to pick default withing the brackets [N]>
Choose the operation you want to perform:
- VIEW - View scheduled backups
- VERIFY - Verify if backup can be scheduled to a remote machine
- SCHEDULE - Schedule backup to an appliance
- CANCEL - Cancel a scheduled backup
- STATUS - Show the status of a backup in progress.
- SETUP - Configure backup parameters.
[]> verify
Enter the IP address of a machine to transfer data to.
[]> 192.168.15.1
Enter a name to identify this appliance
[]>sma2.example.com
Please enter username and password:
Username:
[]> admin
Password:
[]> <enter admin password for the target SMA>
Verifying target machine for version compatibility and disk space...
Backup can be scheduled on to 192.168.15.1.
Choose the operation you want to perform:
- VIEW - View scheduled backups
- VERIFY - Verify if backup can be scheduled to a remote machine
- SCHEDULE - Schedule backup to an appliance
- CANCEL - Cancel a scheduled backup
- STATUS - Show the status of a backup in progress.
- SETUP - Configure backup parameters.
[]> schedule
Enter the IP address of a machine to transfer data to.
[]> 192.168.15.1
Enter a name to identify this appliance
[]>sma2.example.com
Please enter username and password:
Username:
[]> admin
Password:
[]> <type the admin password on the target SMA>
Verifying target machine for version compatibility and disk space...
1. Set up a repeating backup schedule
2. Schedule a single backup
3. Start a single backup now
[1]>
1. Daily
2. Weekly
3. Monthly
[1]> 3
What day of the month would you like the backup to occur?
[1]> <hit enter here>
What time of day would you like the backup to start? Please enter in HH:MM
format.
[]> 02:00
Please enter a name for this backup job:
[]> weekly
Backup "weekly" has been scheduled successfully.
Choose the operation you want to perform:
- VIEW - View scheduled backups
- VERIFY - Verify if backup can be scheduled to a remote machine
- SCHEDULE - Schedule backup to an appliance
- CANCEL - Cancel a scheduled backup
- STATUS - Show the status of a backup in progress.
- SETUP - Configure backup parameters.
[]> view
Scheduled Backups:
# Name IP Schedule
= ====== =============== ================================
1 weekly To 192.168.15.1 on day 1 of every month at 02:00
Choose the operation you want to perform:
- VIEW - View scheduled backups
- VERIFY - Verify if backup can be scheduled to a remote machine
- SCHEDULE - Schedule backup to an appliance
- CANCEL - Cancel a scheduled backup
- STATUS - Show the status of a backup in progress.
- SETUP - Configure backup parameters.
[]> <hit enter until your back in CLI>
sma1.example.com> commit
Please enter some comments describing your changes:
[]> scheduled a weekly backup
Changes committed: Wed Mar 16 18:09:51 2011 GMT
sma1.example.com>