Subversion Repositories DevTools

Rev

Rev 6177 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6177 Rev 7371
Line 139... Line 139...
139
        if ( $opt_rtag_id || $opt_sbom_id || $#ARGV >= 0 );
139
        if ( $opt_rtag_id || $opt_sbom_id || $#ARGV >= 0 );
140
 
140
 
141
    Error ("Cannot use -nopatch or -ignore with -extract")
141
    Error ("Cannot use -nopatch or -ignore with -extract")
142
        if ( ! $opt_patch || keys %ignore );
142
        if ( ! $opt_patch || keys %ignore );
143
 
143
 
144
    Error ("S3 Recovery process must be run as buildadm")
144
    Error ("S3 Recovery process must be run as pkgadm")
145
        unless ($ENV{USER} eq 'buildadm');
145
        unless ($ENV{USER} eq 'pkgadm');
146
 
146
 
147
    extract_files();
147
    extract_files();
148
    exit (0);
148
    exit (0);
149
}
149
}
150
 
150
 
Line 1287... Line 1287...
1287
 
1287
 
1288
Create a log file showing packages that could not be restored.
1288
Create a log file showing packages that could not be restored.
1289
 
1289
 
1290
=back
1290
=back
1291
 
1291
 
1292
The 'Restoration' operation can only be performed on the package server machine by the 'buildadm' user. 
1292
The 'Restoration' operation can only be performed on the package server machine by the 'pkgadm' user. 
1293
The operation is not available to other users.
1293
The operation is not available to other users.
1294
 
1294
 
1295
=head2 Format of missing file
1295
=head2 Format of missing file
1296
 
1296
 
1297
The 'missing' file is a file generated by this script in the 'Generation' mode and consumed by this script in the 'Restoration' mode.
1297
The 'missing' file is a file generated by this script in the 'Generation' mode and consumed by this script in the 'Restoration' mode.