ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/Backup.ybc

YaST bytecode 1.4.0Backup
Backup.ycpProgressReportNfsPopup	FileUtilsStringServicebackup/functions.ycp	Label
Mode	DirectoryAbortConfirmation

ShowEditDialog				ShowEditBrowseDialog			GetMountedFilesystems	Ext2Filesystems	GetListWithFlags			AddIdBoolAddId		AddIdExt2	MediaList2UIList	SetMultiWidgetsStateExt2MountPoint		AddMissingExtension			GetBaseName		SendMail			CreateUnderLine			SendSummary			SecondsToDateString	GetInstallPackages	CloneSystem			 DetectMountpoints!MpointTableContents			"
NFSFileExists			#NFSfile				$get_free_space	%#IsPossibleToCreateDirectoryOrExists		&
ClassNames'max_cron_index(script_store_ext2_area	)script_get_partition_table	*script_get_files	+script_create_archive	,daynames	-ordinal_numbers	.backup_profiles	/default_archive_name	0default_description	1default_archive_type
2default_multi_volume3default_volume_size
4default_user_volume_size	5default_user_volume_unit
6default_search7default_all_rpms_content8default_system9default_display:default_do_md5_test;
default_perms<default_default_dir	=default_dir_list	>default_include_dir	?default_regexp_list	@default_fs_exclude	Adefault_detected_fs	Bdefault_detected_ext2	Cdefault_ext2_backupDdefault_backup_ptEdefault_backup_all_ext2Fdefault_backup_none_ext2Gdefault_backup_selected_ext2Hdefault_tmp_dir	Idefault_backup_files	Jdefault_selected_files	Kdefault_unselected_files	Ldefault_autoprofileMdefault_target_type
Ndefault_temporary_dir	Odefault_nfsserver	Pdefault_nfsexport	Qdefault_mail_summaryRarchive_name	Sdescription	Tarchive_type
Uprofile_is_new_oneVmulti_volumeWvolume_size
Xuser_volume_size	Yuser_volume_unit
Z
user_vol_size[
temporary_dir	\mail_summary]	do_search^backup_all_rpms_content_system`displayado_md5_testbpermsctarget_type
ddefault_dir	edir_list	finclude_dirs	gregexp_list	h
fs_exclude	idetected_fs	j
detected_ext2	kext2_backupl	backup_ptmbackup_all_ext2nbackup_none_ext2obackup_selected_ext2ptmp_dir	q
target_dir	r	cron_modescron_profile	tbackup_helper_scriptsuautoprofilev	nfsserver	w	nfsexport	xnfsmount	ybackup_files	zselected_files	{unselected_files	|no_interactive}selected_profile	~undetected_volume_sizeinstallable_packages	complete_backup	remove_cron_files	
remove_resultdetected_mpoints
cron_settingsjust_creating_archivecd_media_descriptions	floppy_media_descriptions	zip_media_descriptions	misc_descriptions	media_descriptions	units_description	configuration_filename	backup_scripts_dir	GetCapacity	
get_search_script_parameters	
PrepareBackup
PostBackupget_archive_script_parameters			ExcludeNodevFSWriteProfile	ReadCronSetting	ReadCronSettingsReadBackupProfilesCreateCronSetting		WriteCronSettingsWriteBackupProfilesStoreSettingsToBackupProfile	 RestoreSettingsFromBackupProfile	RestoreDefaultSettingsBackupProfileNames	CreateCronDescription		BackupProfileDescriptionsRemoveBackupProfile	RemovableDevicesReadInstallablePackagesDetectedMountPointsGetLocalArchiveName	MapFilesToStringRemoveOldSingleArchives	RemoveOldMultiArchives	RemoveOldArchives	"((7))8**9++:,,=--G..k//n00o11p22r33s44t55u66w77x88y99z::{;;|<<~==>>??@@AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXXYYZZ[[\\]]^^__``aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~"/79\emedia	m
}	file_list	file_comment	hvolumes	!filename	profilename	Fprofile_name	profile_name	Vprofilename	profile_name	remove_cronfile
only_writable6name	maxname	max`name	maxmultivolume3UI	UserInput
OpenDialogCloseDialogChangeWidget

QueryWidget

SetFocus
GetDisplayInfo	AskForExistingDirectory			3SCRReadWriteExecute3UI	UserInput
OpenDialogCloseDialogChangeWidget

QueryWidget

SetFocus
GetDisplayInfo	AskForExistingDirectory			3SCRReadWriteExecute0backup3Progress3ReportError	NumWarnings	NumErrorsWarning	GetMessages	3NfsMount						Unmount	3PopupError	AnyQuestion				
3	FileUtilsExists	IsDirectory	GetFileType		3StringQuote		3 ServiceEnabled	Status	Enable	Start	Restart	1"backup/functions.ycp3LabelCancelButton		YesButton	NoButton	OKButton	BrowseButton	3Modetest3	Directorytmpdir	0backup%&type
"retheading	question	yes	no	"$($+Abort Confirmationbackup$-Really abort the backup?backup$.$/(1changed42"&3focus_no46"(7not_changed48"&9	focus_yes4<"(=none4>"&?4B",C	
	y2warning	
-Unknown type of abort confirmation dialog: %1-H%U
label	value	values	forbidden_letters	"
combo_contentinput
text	"(W4X"&Y(\4]"&^$a	(c&&size4d"&e		maplistv	"itemid,hVBoxsizeComboBoxidteopthstretcheditable
InputFieldidteopthstretchVSpacing1.HBox
PushButtonidokoptdefaultkey_F10
PushButtonidcanceloptkey_F9,widte$y
${	idteValue,|(~&&	4~",		foreach
one_letter	""&			mergestring						splitstring			-textclicked%label	value	"input
text	"	(4"&(4"&,VBoxHBox
InputFieldidteopthstretchHSpacing1.VBoxVSpacing0.9
PushButtonidbrowseVSpacing1.HBox
PushButtonidokoptdefaultkey_F10
PushButtonidcanceloptkey_F9,idte$)4"&
(browse4	start_dir	new_dir	"$/$$Select a directory to be included...backup(,idteValue(||okcancel4".$	idteValue,-textclicked%mounted	result	"$		SCR::Read.proc.mounts$	(4"-	,		foreachm	"fs	"$	vfstype(4"'size-		toset%mounted	ext2mountpoints		tmp_partsfstab	"$		SCR::Read.proc.mounts$	$	(4",		foreachm	"fs	dev	file	"$	vfstype$	spec$	file(&&&&ext2!contains4"&			add	partition
mountpoint&add$		SCR::Read
.etc.fstab(4",		foreachf	"fs	dev	file	"$	vfstype$	spec$	file(&&&&ext2!contains4"&			add	partition
mountpoint&add-	%in	selected	""(4"-	-		maplisti	"itemid		contains%)inval""(*4+"&,(/40"-1	-4maplisti"tmp_idtmp_s	isterm"$5$6$8(:4;ti"$<&=&>	-A&&&&item%Min	""(N-N	-P		maplisti	"itemid%]in	""(_-_	-a		maplisti	"pt	mp	"$b		partition$c	
mountpoint-eitemid%omedia	"result"$p	(r4s"-t	,w		foreachv	"i
l	"$y
symbol$z	label(|&&4}"&~additemid-%	tmp_multiuser"$idmulti_volumeValue,idvolEnabled$&&
idvolValueuser_defined,id	user_sizeEnabled,id	user_unitEnabled%device_name	"mp	result	"$		SCR::Read.proc.mounts$(4",		foreachp	"d	dev	fs	"$	file$	spec$	vfstype(&&ext24"&(4fstab	"$		SCR::Read
.etc.fstab(4",		foreachp	"d	dev	fs	"$	file$	spec$	vfstype(&&ext24"&-%file		extension	"dirs	filename	result	"
(4"-(4"-(		regexpmatch		^/4"&					regexpsub				^/+(.*)/\1(&&		block4",	
y2milestone	
5Leaving destination unchanged, '%1' is a block device-(		regexpmatch		^/dev/4",	
y2milestone	
@Leaving destination unchanged, '%1' is under the /dev/ directory-$			splitstring			/$-size	$(	size		size	4extension_re	"$					regexpsub				\.(.*)\.\1&+			$(!		regexpmatch		&+			4"&+			(size4"&		remove-size&
			add&			mergestring			/-
%file	"result	dirs	filename	parts	"$(||4"-$!			splitstring			/$"-size	$$			splitstring			.(&size4'"&)		remove-size&*			mergestring			.&--/%9user	subject	message	"d		mail_file	"(;||4<"-=$A		SCR::Read.target.tmpdir(B||4C",D	

y2security	
)Using /tmp directory for temporary files!&E/tmp$H+			/mail(K
SCR::Write.target.string4L"-M-QSCR::Execute.target.bash+			+			+			+			+			+			8export charset=UTF-8; export ttycharset=UTF-8; /bin/cat  | /usr/bin/mail  -s ''%Zinput	ch	"lenret	"$[	size	$\)^4_"&`+			&a--d%l
remove_resultcron_profile	
backup_result	backup_details	"
br	subject	reported	removed	renamed	oldarch	
ren_header	summary_heading	detail_heading		body	"$m
$p		
sformat		
YaST Automatic Backup (%1)backup$s(v4w"&y+			: FAILEDbackup,|	
y2debug	
remove_result: %1$~(sizeremoved	4"&+			Removed Old Archives:backup,		foreachf	"removed	"&+			+			$(sizerenamed
4"&+			Renamed Old Archives:backup,				foreachfrom	to	"renamed
"&+			+			+			+			 -> $Changed Existing Archives:backup$||	size		size	+			+			=$Summary:backup$Details:backup$	+			+			+			+			+			+			+			+			+			+			+			+			+			+			+			+			+			+					
sformat		
BACKUP REPORT for Profile %1backup	size	+			+			+			+			!Problems During Automatic Backup:backup=	size	+			+			+			+			+			+			+			+			=(root	4",	
y2error	
Cannot send report--%sec"resultret	"$SCR::Execute.target.bash_output+			+			T/usr/bin/perl -e '($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(		
sformat		
%1d);
$mon++;
$year += 1900;
printf ("%d%02d%02d%02d%02d%02d", $year, $mon, $mday, $hour, $min, $sec);'$exit	stdout		
sformat		
%1		
sformat		
%1,	
y2debug	
time string: %1-%temporary_file	yastbin	cmd	commandret	"-	,	
y2milestone	
--- backup_get_packages ---$		
sformat		
%1/backup-list-of-packages(	4",SCR::Execute.target.remove$(	
/sbin/yast&
/sbin/yast(	/sbin/yast2&/sbin/yast24",	
y2error	
(Neither /sbin/yast nor /sbin/yast2 exist-	$		
sformat		
1%1 backup_get_packages %2 1>/dev/null 2>/dev/null,	
y2milestone	
Running command: '%1'$SCR::Execute.target.bash_output$	(exit4",	
y2error	
Unexpected error: %1&	4"(	4"&		SCR::Read.target.ycp,SCR::Execute.target.remove(4"&	,	
y2error	
Error while reading %14",	
y2milestone	
%backup_get_packages found %1 packages,	
y2debug	
Client returned %1,	
y2milestone	
--- backup_get_packages ----%filename	
additional		extra_key	
extra_options"
AutoinstCloneProfileret"3
AutoinstClone
additional	Process3Profilecurrent	Save	$
(	size	4
"(size4"&,	
y2milestone	
Clonning system started...(
4",,	
y2milestone	
SKIPPING,	
y2milestone	
System clonned(&&size	size	4"'-!-$%+ Storage	targetmap		devices"(,
4,",-	
y2milestone	
SKIPPING-.
31StorageGetTargetMap	$3			,4	
y2debug	

targetmap: %1$6
,8		foreachdisk	info"
partitions	"$:
partitions	,<		foreach	part_info	"device	mpoint	fs
"$>	device$?	mount$@
detected_fs,B	
y2debug	
device: %1, mount: %2, fs: %3(E&&&&&&&&&&&&swaplvmraid
xbootpdisk
xhibernate4G"'Hmpointfs,R	
y2milestone	
Detected mountpoints: %1-S%]!selected	all	description	"FileSystemsret	processed",^	
y2milestone	
selected: %1, description: %23`FileSystemsGetName	
	$b	$c
(esize4f",g		foreachdevice	info"dir	fs	mark	"$i	mpoint$j
fsunknownUnknown file systembackup$l		containsX 'n&oadditemid+			 +			 (tsize4u",w		foreachd	""(y4z"&{additemid		containsX -%"server	share	filename	"mpoint	ret"(||||	size		size		size	4"-$(4"-$	SCR::Read.target.size+			+			/,-%#server	share	filename	"slash	"(||||	size		size		size	4"-$			substring		//-+			+			+			+			:%$	directory	"resultexitoutline	device	total	used	free	"(	size	4",	
	y2warning	
Wrong parameter directory: %1-
$SCR::Execute.target.bash_output+			/bin/df -P $exit(4",	
	y2warning	
Command df failed, exit: %1-
$			splitstring				stdout
$	$					regexpsub				/^([^ ]*) +([0-9]+) +([0-9]+) +([0-9]+) +[0-9]+%\1$					regexpsub				/^([^ ]*) +([0-9]+) +([0-9]+) +([0-9]+) +[0-9]+%\2$					regexpsub				/^([^ ]*) +([0-9]+) +([0-9]+) +([0-9]+) +[0-9]+%\3$					regexpsub				/^([^ ]*) +([0-9]+) +([0-9]+) +([0-9]+) +[0-9]+%\4-devicetotal	tointegerused	tointegerfree	tointeger%%	directory	"
error_message	directory_path	tested_directory	"$$			splitstring			/$,		foreachdir	""&+			+			//,	
y2debug	
TESTING: %1(	4"(!	4",	
y2error	
>Cannot create backup archive in '%1', '%2' is not a directory.&		
sformat		
ZCannot create backup archive in %1.
%2 is not a directory.
Enter another one or remove %2.backup.4".-2
Backup.ycp$'&nameMass storage devicebackupDiskbackupTapebackupCD-ROMbackupFloppy diskbackupStorage devicebackup$5'$7(
/sbin/e2image$8)/sbin/fdisk -l$9*#/usr/lib/YaST2/bin/backup_search.pl$:+$/usr/lib/YaST2/bin/backup_archive.pl$=,MondaybackupTuesdaybackup	WednesdaybackupThursdaybackupFridaybackupSaturdaybackupSundaybackup$G-1stbackup2ndbackup3rdbackup4thbackup5thbackup6thbackup7thbackup8thbackup	9thbackup
10thbackup11thbackup12thbackup
13thbackup14thbackup15thbackup16thbackup17thbackup18thbackup19thbackup20thbackup21stbackup22ndbackup23rdbackup24thbackup25thbackup26thbackup27thbackup28thbackup29thbackup30thbackup31stbackup$k.
$n/$o0$p1tgz$r2$s3fd144$t4$u5$w6$x7$y8$z9${:$|;$~<		/media/tmp	/var/lock/var/run/var/tmp
/var/cache/sys/windows/mnt$=<$>/$?	$@	iso9660ntfs$A$B$C	$D$E$F$G$H/tmp$I
$J$K	$L$Mfile$N/var/lib/YaST2/backup/tmp$O$P$Q$R/$S0$T1$U$V2$W3$X4$Y5$Z$[N$\Q$]6$^7$_8$`9$a:$b;$cM$d<$e=$f>$g?$h@$iA$jB$kC$lD$mE$nF$oG$pH$q$r$s$t	$uL$vO$wP$x$y		evalI$z		evalJ${K$|$}$~**$	$	$	$
$$
$$labelCD-R/RW 650 MB (74 min.)backupsymbolcd650capacity**labelCD-R/RW 700 MB (80 min.)backupsymbolcd700capacity**$labelFloppy 1.44 MBbackupsymbolfd144capacity*label
Floppy 1.2 MBbackupsymbolfd12capacity*$"label
ZIP 100 MBbackupsymbolzip100capacity**_$/	$7	mergemergemerge$9labelbytesbackupcapacitysymbolBlabelkBbackupcapacitysymbolkBlabelKiBbackupcapacitysymbolkiBlabelMBbackupcapacity@BsymbolMBlabelMiBbackupcapacity*symbolMiB$Z/var/adm/YaST/backup/profiles$\/var/adm/YaST/backup/scripts/%eresult$f(h4i,j		foreachval	(l
symbol4m&ncapacity-t%}script_options	$~  --start-dir / --output-progress(^4,	
y2milestone	
Backup all RPMs content...&+			 --all-rpms-content(]4&+				 --search&f		tosetf,	
y2milestone	
Directories to include: %1f(sizef4&f>,		foreachd	f(&+					
sformat		
 --include-dir '%1'
,	
y2milestone	
Directories to exclude: %1e(sizee4,		foreachd	e(&+					
sformat		
 --exclude-dir '%1'
,	
y2milestone	
Files to exclude: %1g(sizeg4,		foreachr	g(&+					
sformat		
 --exclude-files '%1'
,	
y2milestone	
Filesystems to exclude: %1h(sizeh4,		foreachi	h&+					
sformat		
 --exclude-fs '%1'
(size4content	listfile	$			mergestring			
$+					SCR::Read.target.tmpdir/packagelist,
SCR::Write.target.string&+			+			 --inst-src-packages (!a4&+				 --no-md5(`4,	
y2milestone	
.Files files will be displayed before archiving&+			+			+			 --widget-file 		SCR::Read.target.tmpdir
/items.ycp&+			+			+			
 --list-file 		SCR::Read.target.tmpdir/items-list.ycp4,	
y2milestone	
 Displaying files will be skipped&+			 --pkg-verification,	
y2milestone	
Search script options: %1-%(&&cnfsx4&xvw-x-%(&&cnfsx4ret$x&x--%archive_options	typemap$+			+			+			 --verbose --files-info  --comment-file (size4complete_string	tmpdir	$			mergestring			
$		SCR::Read.target.tmpdir,
SCR::Write.target.string+			/complete_backup&+			+			+			 --complete-backup /complete_backup4,	
y2debug	
complete_backup is empty,	
y2debug	
nfsmount: %1, archive_name: %2xR&+			+			 --archive-name cfileR		
sformat		
%1/%2xR(_4tmp_selected_pt	detected_ext2_strings	
partitions	(l4&+			 --store-ptable$	,foreach
sel_tmp_ptktmp	$	(4&			add$	,!		foreachinfo	jpart	$#		partition(%4&&'			add$,mn	,.	
y2milestone	
Backup Ext2 partitions: %1,0		foreachspt	&0+			+			 --store-ext2 $4
starstarstbzstbz2stgzstgztartartbztbz2tgztgztxttxt&>+			+			 --archive-type 	Ttgz(AV4B(CWuser_defined4Dvol_size$F	tointeger/*tofloatXtofloatY1024.,H	
y2debug	
Volume size is %1 kiB(J4K&L+			+			 --multi-volume 		
sformat		
%14O,P	
	y2warning	
Bad volume size: %1X4T&U+		+			 --multi-volume 	tointeger/tofloatW1024.(Y	size	p4Z&[+			+			 --tmp-dir p,^	
y2milestone	
Archive script options: %1-`%hfilesystems		$i			SCR::Read.proc.filesystems(k4l-m,p				foreachk	v	(qnodev4r&sh			addh&xh		toseth,z	
y2milestone	
Detected nodev filesystems: %1h%
archive	posdir	file		directory	prefix	fs
volumestringsrestore	packages_sel
profilefile	removable_deviceres$+			&&cnfsx+			x/R$		
findlastof		/$$(&&4&+						substring		/&			substring		+$,	
y2debug	
dir: %1, file: %2$file://$	SCR::Read.proc.mounts&filterinfo	vfstypenfs,foreachinfo
mountpoint	spec	server	remdir	$	file$	spec$			substring				findfirstof		:$			substring		+		findfirstof		:(&&4(			substring			size	4,	
y2milestone	
NFS server: %1, directory: %2&nfs://&+			+			+			:/(&&V4(||Wfd144Wfd124&fd://&/(||Wcd700Wcd6504&cd://&/,	
y2debug	
'backup write profile: prefix=%1, dir=%2$	(size4,		foreachvolfile	f	pos$$		
findlastof		/(&&4&			substring		+&add+			+			4&+			+			$archives$	
,		foreachpkg	infoz(4&					regexpsub				
(.*)-.*-.*\14&_NoPackage_'	
sel_typeX(4&/$
+			+			R.xml$(		regexpmatch		^/dev/4&&
+					SCR::Read.target.tmpdir/backup-profile.xml,	
y2debug	
Profile location: %1
$
	lanrestore,	
y2milestone	
Clone result: %1(4command	run$		
sformat		
/cd '%1'; /bin/tar -cf '%2' 'backup-profile.xml'
		SCR::Read.target.tmpdir
R$SCR::Execute.target.bash_output,	
y2milestone	
Running command %1 -> %2(exit&&
R(	cnfs4
nm	&		
findlastof		R/$&&			substring		R,	
y2debug	
pos: %1, nm: %2&
+			+			+			+			+			+			+			v:w/	size	/R.xml,	
y2debug	
Updated profile location: %1
-resultprofile
%!
retfilecontent	lines	line	regex	every
cronsettingsprofilename	unknown_settings	bad_settings$"
($||4%-&$)		SCR::Read.target.string$*			splitstring			
&-			filterl	!		regexpmatch		^[ 	]*#$/	(1||42-3$6^([^ 	]*)[ 	]*([^ 	]*)[ 	]([^ 	]*)[ 	]([^ 	]*)[ 	]([^ 	]*)[ 	]*[^ 	]*[ 	]*/usr/lib/YaST2/bin/backup_cron[ 	]*"*[ 	]*profile[ 	]*=[ 	]*([^"]*)"*$7none$8
$9$<$=	(?		regexpmatch		4@	
minute_str	hour_str	minutehourday	month	weekday	intday
intweekday$A					regexpsub				\1$B					regexpsub				\2,D	
y2milestone	
minute_str: %1, hour_str: %2(F||!		regexpmatch		^[0-9]*$!		regexpmatch		^[0-9]*$4G&H,K	
y2milestone	
unknown_settings: %1$L	tointeger$M	tointeger(O||||||;4P&Q	$T					regexpsub				\3$U					regexpsub				\4$V					regexpsub				\5,X	
y2milestone	
line: %1,Y	
y2milestone	
day: %1$[$\&^					regexpsub				\6,_	
y2milestone	
profilename: %1(a*4b&d(g&&**4h&jday(l*4m&nweek(p!		regexpmatch		^[0-9]*$4q&r&u	tointeger(w||4x&y	(|*4}&~month(!		regexpmatch		^[0-9]*$4&&	tointeger(||4&	4&&autodayhourminuteweekdayevery,	
y2milestone	
cronsettings: %14&(4,		
sformat		
Acron settings for profile %1
in file %2
are not fully supported.
backup(	4,		
sformat		
<Some time values for profile %1
in file %2
are out of range.backup-noneprofilenamecronsettings
%crondir	files	$/etc/cron.d$		SCR::Read.target.dir,		foreachname	opts.tmpcr$eval$eval
cron_settings
'cronfile'cron_changed'
cron_settingseval'.eval(&&size4,		foreachfile	(		regexpmatch		^yast2-backup-[0-9]*$4
cron_indexcron$	tointeger					regexpsub				yast2-backup-([0-9]*)\1,	
y2milestone	
cron_index: %1('4&'$+			+			/,	
y2milestone	
parsed cron config: %1(&&
4profilename	cronsettings$	profilename$evalcronsettings
(&&
4profile$eval.
'cronfile+			+			/&unioneval
cron_settings
'
cron_settingseval'.eval,	
y2milestone	
max_cron_index: %1'%(	4,	
y2milestone	
Reading configuration from %1&.		SCR::Read.target.ycp4,	
y2milestone	
'Configuration file %1 doesn't exist yet&.(.&.
,		foreachprofname	opts.,	
y2debug	
Read profile %1: %2(
cron_settingsauto4,	
y2debug	
Deactivating profile %1'
cron_settingsauto'	.eval,-.
%inputret	$.
cron_settings
$( ||||
cron_changed4!-"(%auto4&hourminutedayweekdayevery
$'hour$(minute$)day$*weekday$+
everyunknown(-day4.&/		
sformat		
?%1 %2 * * *  root  /usr/lib/YaST2/bin/backup_cron "profile=%3"
(1week42&3		
sformat		
@%1 %2 * * %3  root  /usr/lib/YaST2/bin/backup_cron "profile=%4"
(5month46&7		
sformat		
@%1 %2 %3 * *  root  /usr/lib/YaST2/bin/backup_cron "profile=%4"
&;+			I# Please do not edit this file manually, use YaST2 backup module instead
->%Fcron_settings_changedcron_is_needed,G	
y2milestone	
backup_profiles: %1.$I$J,M		foreachname	opts.setting		cron_file	profcron_s$O$P	
cron_settingscronfile,R	
y2milestone	
name: %1,S	
y2milestone	
setting: %1,T	
y2milestone	
cron_settings: %1
cron_settings
(V&&4W(Y	size	4Z&\'+'&]		
sformat		
/etc/cron.d/yast2-backup-%1''`.
cron_settingscronfile,c
SCR::Write.target.string,d	
y2milestone	
Created file: %1&f&g(i&&	size	
cron_settingsauto4j,lSCR::Execute.target.bash+			/bin/rm -f ,m	
y2milestone	
removed old cron file: %1&o$seval.
$teval
cron_settings
'vcron_changed'w
cron_settingseval'x.eval(~4~(cron4,cron(4(!cron,cron,cron%
profiles_file	,$(!
SCR::Write.target.ycp.4,	
y2error	
$Unable to write profiles into a file,		
sformat		
JCould not store profiles to the file %1.
The profile changes will be lost.backup-,		foreachfilename	(4,	
y2milestone	
Removing file: '%1'(!SCR::Execute.target.remove4,	
	y2warning	
Cannot remove cron file '%1'-%new_profile$"archive_nameRdescriptionSarchive_typeTmulti_volumeVvolume_sizeWuser_volume_sizeXuser_volume_unitYsearch]all_rpms_content^system_display`do_md5_testadefault_dirddir_liste
fs_excludehregexp_listginclude_dirsfdetected_fsi
detected_ext2jext2_backupk	backup_ptlbackup_all_ext2mbackup_none_ext2nbackup_selected_ext2ounselected_files{autoprofileupermsb	nfsserverv	nfsexportwmail_summary\tmp_dirptarget_typecbackup_helper_scriptst
cron_settings'.%profile
read_dir_list*(!haskey.-$.&U&R	archive_name/&S	description0&T
archive_type1&Vmulti_volume2&W
volume_size3&X	user_volume_size4&Y
user_volume_unit5&]search6&^all_rpms_content7&_system8&`display9&ado_md5_test:&d	default_dir<$
	dir_list=(
	4&e	(4new_dir_list	$	,foreachitmp_id$(4tmp_d	$	(4& 			add&&e4),*	
	y2warning	
9Excluded directories - unsupported data type, value is %1&-h	
fs_exclude@&.i	detected_fsA&/j	
detected_ext2B&0kext2_backupC&1l	backup_ptD&2mbackup_all_ext2E&3nbackup_none_ext2F&4obackup_selected_ext2G&5{	unselected_filesK&:uautoprofileL&<bperms;&=v		nfsserverO&>w		nfsexportP&?c
target_typeM&B\mail_summaryQ&Cp	tmp_dirH&Dg	regexp_list?&Ef	include_dirs>&GzJ&HyI&J}&Ltbackup_helper_scripts	&N
cron_settings
-P%V%&YR/&ZS0&[T1&\V2&]W3&^X4&_Y5&`]6&a^7&b_8&c`9&da:&ed<&fe=&gh@&hiA&ijB&jkC&klD&lmE&mnF&noG&o{K&tuL&vb;&wvO&xwP&ycM&{\Q&|pH&}g?&~f>&z		evalJ&y		evalI&t	&}&
%result	$				maplistkey	value.(-	-		sort%inputret	$.
cron_settings
$(||
4-(auto4	hourminutedayweekdayevery

timeformat	bashcommand	resultltime	
$hour$minute$day$weekday$
everyunknown$%I:%M %pbackup$		
sformat		
/bin/date --date '%1:%2' '+%3'$SCR::Execute.target.bash_output$			mergestring						splitstring				stdout
(4&Invalid timebackup(day4&		
sformat		
Back up daily at %1backup(week4&		
sformat		
Back up weekly (%1 at %2)backup,?	(month4&		
sformat		
Back up monthly (%1 day at %2)backup-?	-%result$		maplistkey	value.descr	displayinfomaxsize$			mergestring						splitstring				description0
 $$TextMode/WidthP((	size	4&+					
lsubstring		...-itemid(-	-%(!haskey.-(&&.
cron_settingscronfile4filename	$	.
cron_settingscronfile,	
y2milestone	
'File '%1' has been marked to be removed&			add&.			remove.-%retdevs$

$mergemerge	SCR::Read.probe.scsi	SCR::Read
.probe.ide	SCR::Read
.probe.floppy(size4,foreachdev(&&class_idsub_class_id4	dev_name	model	bus	sub_class_idtype_symbol
type	mediapreselected
	user_size$	dev_name$	model$	bus$sub_class_id$unknown(&&	size	4 parts	$!			splitstring			/(%!		regexpmatch		-size	^n4&''-size+			n-size	&)			mergestring			/'+dev_name&.tape$2&Unknown device typebackup(8&&49(<!||||||cdrcdrwdvdramdvdr4>&?&Bcd$F$G$H(Jdvd4K&LDVD-ROM&Mdvd(O4P&Q(T||cdrcdrw4U&W	CD Writerbackup&Xcdrcdrcdrw&Y&Zcd700(\dvdr4]&_
DVD Writerbackup&`dvdr(bdvdram4c&dDVD-RAM&edvdram(g&&zipsub_class_id4hgeometryszsect_szraw_size&iZIP&jzip&k$nresourcedisk_log_geo
$o**	cylindersheadssectors$p	sizeunitsectorssizey$q*(t***`@ 4u&wzip100(y4z&|user&}-*(sub_class_id4sizessect_sz&floppy&$resourcesize	$,foreachmunit	$	unit(sectors4&*xy,	
y2milestone	
sect_sz: %1(4(*@4&fd144(4&user&~(	size	4&addmodeltypebusmediapreselected	user_sizetype_symbol-%&,	
y2debug	
installable_packages: %1%(4& -%ret	$R(&&cnfsx4&+			+			x/R-%	num_filesnum_packfilelist_tmpfile	ret_file_list_storedflist_appended$$(z4-
,LeftLabel,Creating the list of files for the backup...backup,	
y2milestone	
Storing filenames list...$+					SCR::Read.target.tmpdir	/filelist$$,		foreachpkg	infoz(4&
SCR::Write.backup.file_append+			+			+			+			+			+			+				Package: 
Installed: 	install_prefixes(none)
			mergestring			
changed_files	

(!4&,		
sformat		
3Cannot write the list of selected files to file %1.backup.	&+size
changed_files	&
+&
SCR::Write.backup.file_appendNopackage:
,		foreachchanged_file	z
changed_files	&
SCR::Write.backup.file_append+			
(!4&,		
sformat		
3Cannot write the list of selected files to file %1.backup.&"+&$+,&	
y2milestone	
Filename stored&)z
,+--	sel_filessel_packagesfile_list_stored%6removedrenamedszparts	fname	dir	command	resultfiles		mv_dates
statctime	ctime_str	
old_name	new_name	oldXML	newXML	 $7	$8
(:||4;-<
$@	SCR::Read.target.size(B4C,E	
y2milestone	
Archive doesn't exist-F
$J			splitstring			/$K-size	$L			mergestring					remove-size/(N	size	4O-P
$S+			+			+			+			/bin/ls -1 -t /*-
 2> /dev/null$TSCR::Execute.target.bash_output$U			splitstring				stdout
$W		&Z			filterfile			regexpmatch		+			+			+			+			^/[0-9]{14}-$,\	
y2milestone	
Old archives: %1(^&&&&sizesize4_)a&&sizesize4b
oldarchive	removedoldarchive	oldXML	
$c-size	__DUMMY__	&f+			/bin/rm -f ,g	
y2milestone	
Removing old archive: %1&hSCR::Execute.target.bash_output$j(mcnfs4n&o+			+			+			v:w			substring			size	x&radd$u+			+			+			/.xml&v+			/bin/rm -f &wSCR::Execute.target.bash_output(zcnfs4{&|+			+			+			v:w			substring			size	x&add&		remove-size$
	SCR::Read.target.stat$
ctime$&+			+			+			+			+			+			+			/bin/mv -f  /-&SCR::Execute.target.bash_output$
$+			+			+			+			/-(cnfs4&
+			+			+			v:w			substring			size	x&+			+			+			v:w			substring			size	x,	
y2debug	
'NFS archive, old_name: %1, new_name: %2
'
$+			+			+			/.xml$+			+			+			+			+			/-.xml&+			+			+			/bin/mv -f  &SCR::Execute.target.bash_output(cnfs4&+			+			+			v:w			substring			size	x&+			+			+			v:w			substring			size	x,	
y2debug	
#NFS archive, oldXML: %1, newXML: %2'-removedrenamed%removedrenamedparts	fname	dir	szcommand	resultfiles		mv_dates
multi	statctime
	ctime_str	oldXML	newXML	#$	$
(||4-
$			splitstring			/$-size	$			mergestring					remove-size/(	size	4-
$	SCR::Read.target.size+			+			+			/01_(4,	
y2milestone	
'First multivolume archive doesn't exist-
4,	
y2milestone	
(First multivolume archive already exists$+			+			+			+			/bin/ls -1 -t /*-*_
 2> /dev/null$SCR::Execute.target.bash_output$			splitstring				stdout
$		$
	,		foreachfile	(		regexpmatch		+			+			+			+			^/[0-9]{14}-[0-9][0-9]+_$4date	&
			add
$					regexpsub				+			+			+			+			^/([0-9]{14})-[0-9][0-9]+_$\1(!contains	4&	add	&
,	
y2milestone	
Old archives: %1,	
y2milestone	
Old archive dates: %1	(&&size	4)size	4oldarchivedate	oldXML		$		-size		__DUMMY__,	
y2milestone	
removing archives with date %1,		foreachfn	(		regexpmatch		+			+			+			+			+			+			^/-[0-9]+_$4&+			/bin/rm -f ,	
y2milestone	
Removing old volume: %1(cnfs4&+			+			+			v:w			substring			size	x&
add,SCR::Execute.target.bash_output$+			+			+			+			+			/-.xml&+			/bin/rm -f (cnfs4&+			+			+			v:w			substring			size	x&add&SCR::Execute.target.bash_output&	remove	-size	$"	SCR::Read.target.stat+			+			+			/01_$#ctime$$
&&+			+			+			+			/bin/ls -1 -t /*_
 2> /dev/null&'SCR::Execute.target.bash_output&(			splitstring				stdout
&)			filterfile			regexpmatch		+			+			+			+			^/[0-9]+_$,*	
y2milestone	
Existing volumes: %1,,		foreachvolume		vol_parts		vol_fname	vol_dir	from	to	
$-			splitstring			/$.-size	$/			mergestring					remove-size/$2+			+			/$3+			+			+			+			/
-&4+			+			+			/bin/mv -f  &5SCR::Execute.target.bash_output(8cnfs49&:+			+			+			v:w			substring			size	x&;+			+			+			v:w			substring			size	x,<	
y2debug	
NFS archive, from: %1, to: %2'?,A	
y2milestone	
renamed volume %1$F+			+			+			/.xml$G+			+			+			+			+			/
-.xml&I+			+			+			/bin/mv -f  &JSCR::Execute.target.bash_output(Mcnfs4N&O+			+			+			v:w			substring			size	x&P+			+			+			v:w			substring			size	x,Q	
y2debug	
#NFS archive, oldXML: %1, newXML: %2'T-Vremovedrenamed%`-a

ACC SHELL 2018