HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup - incremental backup is backing up entire ...
Operating System - HP-UX
1838100
Members
3392
Online
110124
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 01:20 PM
09-22-2008 01:20 PM
fbackup - incremental backup is backing up entire directory structure
I am using fbackup to take a full system backup once a week to tape. In between the weekly backups, I would like to take daily incremental backups and store these to disk.
The problem is the incremental backup is backing up the entire directory structure of the fileserver, even through there are no modified files in the directories. So I have every directory on the server in the incremental backup but most directories are empty as there are no modified files in them.
Shouldn't the incremental backup just be creating the directory structure of the files that have been modified?
It makes it hard to see what files have changed. Also, the size of the daily backup is huge, which prevent storing the daily backups on disk.
To verify this, I took a level 0 full backup, which was 91 GB. Then right after it completed, I took a level 1 backup, which was 18 GB. From comparing the two backup index files, the daily backup index file was almost entirely composed of folder structures.
Is there a way to prevent fbackup from writing the entire directory structure when there are no file modifications within the directory?
Thanks,
Cindy
The problem is the incremental backup is backing up the entire directory structure of the fileserver, even through there are no modified files in the directories. So I have every directory on the server in the incremental backup but most directories are empty as there are no modified files in them.
Shouldn't the incremental backup just be creating the directory structure of the files that have been modified?
It makes it hard to see what files have changed. Also, the size of the daily backup is huge, which prevent storing the daily backups on disk.
To verify this, I took a level 0 full backup, which was 91 GB. Then right after it completed, I took a level 1 backup, which was 18 GB. From comparing the two backup index files, the daily backup index file was almost entirely composed of folder structures.
Is there a way to prevent fbackup from writing the entire directory structure when there are no file modifications within the directory?
Thanks,
Cindy
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 06:36 PM
09-22-2008 06:36 PM
Re: fbackup - incremental backup is backing up entire directory structure
Here is what I used to use on my workstation. I hope it helps.
#####################################################################
#
# Setup for Daily incrementals
#
#####################################################################
Monday|Tuesday|Wednesday|Thursday|Friday )
case "$today"
in
Monday )
level=1 ;;
Tuesday )
level=2 ;;
Wednesday )
level=3 ;;
Thursday )
level=4 ;;
Friday )
level=5 ;;
esac
# Perform the daily incrementals
echo "Beginning Daily backup on "$hn" ...from Backup script." > $today
echo `date +%c` >> $today
echo " " >> $today
/usr/sbin/fbackup -$level -u -v -g /my_backups/system.daily -I /my_backups/backup.logs/backup_log.incr -c /my_backups/backup.logs/backup.conf -d /my_backups/backup.logs/backup.dates -f /dev/rmt/c0t3d0BEST 2>&1
if [ $? -eq 0 ]
then
echo "Daily Backup Completed" >> $today
else
echo "Daily Backup Failed" >> $today
fi
echo " " >> $today
echo "Ending Daily backup on "$hn" ...from Backup script." >> $today
echo `date +%c` >> $today
echo " " >> $today
cp /my_backups/backup.logs/backup_log.incr /my_backups/backup.logs/incrementals/backup.$day
elm -s "Daily backup results" root@$hn < $today
# Eject todays tape
mt -t /dev/rmt/c0t3d0BEST offl
;;
#####################################################################
#
# Setup for Daily incrementals
#
#####################################################################
Monday|Tuesday|Wednesday|Thursday|Friday )
case "$today"
in
Monday )
level=1 ;;
Tuesday )
level=2 ;;
Wednesday )
level=3 ;;
Thursday )
level=4 ;;
Friday )
level=5 ;;
esac
# Perform the daily incrementals
echo "Beginning Daily backup on "$hn" ...from Backup script." > $today
echo `date +%c` >> $today
echo " " >> $today
/usr/sbin/fbackup -$level -u -v -g /my_backups/system.daily -I /my_backups/backup.logs/backup_log.incr -c /my_backups/backup.logs/backup.conf -d /my_backups/backup.logs/backup.dates -f /dev/rmt/c0t3d0BEST 2>&1
if [ $? -eq 0 ]
then
echo "Daily Backup Completed" >> $today
else
echo "Daily Backup Failed" >> $today
fi
echo " " >> $today
echo "Ending Daily backup on "$hn" ...from Backup script." >> $today
echo `date +%c` >> $today
echo " " >> $today
cp /my_backups/backup.logs/backup_log.incr /my_backups/backup.logs/incrementals/backup.$day
elm -s "Daily backup results" root@$hn < $today
# Eject todays tape
mt -t /dev/rmt/c0t3d0BEST offl
;;
Conformity Destroys a mans initiative and independence. It supresses his powerful inner drive to do his own thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2008 05:46 AM
09-23-2008 05:46 AM
Re: fbackup - incremental backup is backing up entire directory structure
Glenn,
Thank you for your response. I will try out this script.
Thanks again,
Cindy
Thank you for your response. I will try out this script.
Thanks again,
Cindy
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP