To expand on this, look at the "bparchive" command.
It's a user-driven backup to tape that will automatically delete files if they
are successfully backed up. It cannot be schedule like a standard full or
incremental and it needs a user-archive type schedule to backup
to.
We used to do this a lot with the oracle archived-redo
files before we fully converted to RMAN.
A cron-run script would wake, inventory the files in the
directory (make sure they're not actively being written to) and write
the list of files to be archived to a filename. We'd then feed the
file-of-filenames to bparchive using the "-f" option. If the backup is
successful, the files are automatically deleted.
-M
Netbackup has an archive option that
deletes the files after being backed up, that option should show in the backup
dialog.
============================= Carl Stehman IT Distributed Services
Team Pepco Holdings, Inc. 202-331-6619 Pager
301-765-2703 ckstehman AT pepco DOT com
"Yusuf Gedikoglu"
<Yusuf.Gedikoglu AT avea.com DOT tr> Sent by: veritas-bu-bounces AT mailman.eng.auburn DOT edu
09/28/2007 09:44 AM
|
To
| <veritas-bu AT mailman.eng.auburn DOT edu>
|
cc
|
|
Subject
| [Veritas-bu] delete files after
backups |
|
Hi, I want to learn is there a way to delete files sand folders to Netbackup
after the files backuped. Oracle team collect some files to a temp area
and then NB backup data for 6 month retention. But we need to delete the
backuped data for the new files. How can i do it automatically. Thanks for your
helps
"Bu elektronik posta ve onunla
iletilen butun dosyalar gizlidir ve sadece gondericisi tarafindan almasi
amaclanan yetkili gercek ya da tuzel kisinin kullanimi icindir. Eger soz konusu
yetkili alici degilseniz bu elektronik postanin icerigini aciklamaniz,
kopyalamaniz, yonlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik
postayi derhal silmeniz gerekmektedir. AVEA bu mesajin icerdigi bilgilerin
dogrulugu veya eksiksiz oldugu konusunda herhangi bir garanti vermemektedir. Bu
nedenle bu bilgilerin ne sekilde olursa olsun iceriginden, iletilmesinden,
alinmasindan ve saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca
gonderen kisiye ait olup, her zaman AVEA 'nin goruslerini yansitmayabilir. Bu
e-posta bilinen butun bilgisayar viruslerine karsi taranmistir."
"This e-mail and any files
transmitted with it are confidential and intended solely for the use of the
individual or entity to whom they are addressed. If you are not the intended
recipient you are hereby notified that any dissemination, forwarding, copying or
use of any of the information is strictly prohibited, and the e-mail should
immediately be deleted. AVEA makes no warranty as to the accuracy or
completeness of any information contained in this message and hereby excludes
any liability of any kind for the information contained therein or for the
information transmission, reception, storage or use of such in any way
whatsoever.The opinions expressed in this message may belong to sender alone and
may not necessarily reflect the opinions of AVEA. This e-mail has been scanned
for all known computer viruses."
_______________________________________________ Veritas-bu
maillist -
Veritas-bu AT mailman.eng.auburn DOT edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
This
Email message and any attachment may contain information that is proprietary,
legally privileged, confidential and/or subject to copyright belonging to Pepco
Holdings, Inc. or its affiliates ("PHI"). This Email is intended solely for the
use of the person(s) to which it is addressed. If you are not an intended
recipient, or the employee or agent responsible for delivery of this Email to
the intended recipient(s), you are hereby notified that any dissemination,
distribution or copying of this Email is strictly prohibited. If you have
received this message in error, please immediately notify the sender and
permanently delete this Email and any copies. PHI policies expressly prohibit
employees from making defamatory or offensive statements and infringing any
copyright or any other legal right by Email communication. PHI will not accept
any liability in respect of such communications.
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|